Windows: Fix mis-interaction between no-menu pause and pause on window lost focus, reported by IRVN

This commit is contained in:
Henrik Rydgård committed 2025-01-23 14:32:38 +01:00
1 parent 3dc46666ff
commit 63a41e7635
3 files changed
+12 -2

No files matched your search

+1 -1
View File
@@ -906,7 +906,7 @@ namespace MainWindow
} else {
if (pause) {
Core_Break("ui.lost_focus", 0);
} else {
} else if (Core_BreakReason() == "ui.lost_focus") {
Core_Resume();
}
}