diff --git a/src/main.cpp b/src/main.cpp index 7690650..37ba643 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1523,6 +1523,8 @@ int main(int argc, char **argv) { } } ImGui::End(); + } else { + selected_tile = -1; } if (show_demo_window)