2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-12 04:55:06 +00:00

Add Help->ImGui->Clear Settings

This commit is contained in:
2021-05-29 02:04:02 -04:00
parent 1bf00f1444
commit 953876393c
2 changed files with 19 additions and 4 deletions

View File

@@ -188,8 +188,12 @@ private:
as->specialKeyDown(key, mods, isRepeat);
}
}
if (key == boo::ESpecialKey::Enter && True(mods & boo::EModifierKey::Alt)) {
m_fullscreenToggleRequested = true;
if (True(mods & boo::EModifierKey::Alt)) {
if (key == boo::ESpecialKey::Enter) {
m_fullscreenToggleRequested = true;
} else if (key == boo::ESpecialKey::F4) {
m_windowInvalid = true;
}
}
m_imguiCallback.specialKeyDown(key, mods, isRepeat);
}