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;