[fix] do not send mouse click event when cursor is on control bar and display selectable

This commit is contained in:
dijunkun
2025-05-16 19:06:25 +08:00
parent abc6b17a3b
commit 9138ca771f
3 changed files with 3 additions and 1 deletions

View File

@@ -70,6 +70,7 @@ int Render::ControlBar(std::shared_ptr<SubStreamWindowProperties>& props) {
sizeof(remote_action), props->data_label_.c_str());
}
}
props->display_selectable_hovered_ = ImGui::IsWindowHovered();
}
ImGui::SetWindowFontScale(1.0f);
ImGui::EndPopup();