[fix] fix mouse click event sending when control bar hovered

This commit is contained in:
dijunkun
2024-08-16 15:06:42 +08:00
parent c8602b0d89
commit 06a7243ac1
3 changed files with 4 additions and 3 deletions

View File

@@ -114,6 +114,7 @@ int Render::ControlWindow() {
ImGui::PopStyleColor();
ControlBar();
control_bar_hovered_ = ImGui::IsWindowHovered();
ImGui::EndChild();
ImGui::End();