Browse Source
Merge pull request #7353 from v1993/no-more-epilepsy
Prevent window flickering when holding Esc
pull/15/merge
bunnei
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
src/yuzu/main.cpp
|
|
|
@ -1031,7 +1031,7 @@ void GMainWindow::InitializeHotkeys() { |
|
|
|
&QShortcut::activatedAmbiguously, ui->action_Fullscreen, &QAction::trigger); |
|
|
|
connect(hotkey_registry.GetHotkey(main_window, QStringLiteral("Exit Fullscreen"), this), |
|
|
|
&QShortcut::activated, this, [&] { |
|
|
|
if (emulation_running) { |
|
|
|
if (emulation_running && ui->action_Fullscreen->isChecked()) { |
|
|
|
ui->action_Fullscreen->setChecked(false); |
|
|
|
ToggleFullscreen(); |
|
|
|
} |
|
|
|
|