mirror of
https://github.com/yuzu-emu/yuzu-android
synced 2024-12-26 01:31:22 -08:00
Fix the stuck in fullscreen bug (Original PR: citra-emu/citra#3611)
This commit is contained in:
parent
c6ab2c94d9
commit
958c98bdae
@ -776,9 +776,11 @@ void GMainWindow::closeEvent(QCloseEvent* event) {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (ui.action_Fullscreen->isChecked()) {
|
||||||
UISettings::values.geometry = saveGeometry();
|
UISettings::values.geometry = saveGeometry();
|
||||||
UISettings::values.state = saveState();
|
|
||||||
UISettings::values.renderwindow_geometry = render_window->saveGeometry();
|
UISettings::values.renderwindow_geometry = render_window->saveGeometry();
|
||||||
|
}
|
||||||
|
UISettings::values.state = saveState();
|
||||||
#if MICROPROFILE_ENABLED
|
#if MICROPROFILE_ENABLED
|
||||||
UISettings::values.microprofile_geometry = microProfileDialog->saveGeometry();
|
UISettings::values.microprofile_geometry = microProfileDialog->saveGeometry();
|
||||||
UISettings::values.microprofile_visible = microProfileDialog->isVisible();
|
UISettings::values.microprofile_visible = microProfileDialog->isVisible();
|
||||||
|
Loading…
Reference in New Issue
Block a user