From e8c0c460d93d75307b41a73f037200339d435e39 Mon Sep 17 00:00:00 2001 From: lejulien Date: Sat, 10 Jan 2026 21:40:24 +0100 Subject: [PATCH] Disable selection when patern menu is selected --- src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.cpp b/src/main.cpp index 7c1a398..345222f 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -172,7 +172,7 @@ int main(int ac, char **av) { mousePos.y / config_json["cell_size"].get()); } // Selection behaviour - if (!edit_ctrl && !play_ctrl) { + if (!edit_ctrl && !play_ctrl && !paterns_ctrl) { if (gesture == GESTURE_TAP && !ImGui::IsWindowHovered(ImGuiHoveredFlags_AnyWindow)) { sel_pos = snapToGrid(mousePos, cell_size_ctrl); selecting = true;