We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent af57375 commit 628c68aCopy full SHA for 628c68a
Editor/GUIEditorApp.cpp
@@ -569,6 +569,7 @@ namespace RTEGUI {
569
570
bool modCtrl = m_KeyStates.at(KEY_LCONTROL) == pressed || m_KeyStates.at(KEY_RCONTROL) == pressed;
571
bool modShift = m_KeyStates.at(KEY_LSHIFT) == pressed || m_KeyStates.at(KEY_RSHIFT) == pressed;
572
+ bool modAlt = m_KeyStates.at(KEY_ALT) == pressed;
573
574
if (!m_PropertyPage->HasTextFocus() && m_SelectionInfo.Control) {
575
if (m_KeyStates.at(KEY_DEL) == pressed) {
@@ -612,6 +613,8 @@ namespace RTEGUI {
612
613
}
614
615
616
+ if (modAlt && m_KeyStates.at(KEY_F4)) { OnQuitButton(); }
617
+
618
m_PrevKeyStates = m_KeyStates;
619
620
0 commit comments