[APP] Disable toggle fullscreen double click while rendering dialogs

This commit is contained in:
Adrian
2025-12-24 21:31:35 +00:00
committed by Radosław Gliński
parent c42aeacf25
commit f8fb490ef8
2 changed files with 6 additions and 0 deletions

View File

@@ -1073,6 +1073,10 @@ void EmulatorWindow::OnKeyDown(ui::KeyEvent& e) {
}
void EmulatorWindow::OnMouseDown(const ui::MouseEvent& e) {
if (imgui_drawer_->IsAnyDialogOpen()) {
return;
}
if (e.button() == ui::MouseEvent::Button::kLeft) {
ToggleFullscreenOnDoubleClick();
}