mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-08-12 19:24:55 -04:00
Make RmlUi F1, ImGui Shift+F1
This commit is contained in:
+2
-2
@@ -167,8 +167,8 @@ NavCommand map_nav_event(const Rml::Event& event) noexcept {
|
||||
return NavCommand::Cancel;
|
||||
case Rml::Input::KeyIdentifier::KI_RETURN:
|
||||
return NavCommand::Confirm;
|
||||
case Rml::Input::KeyIdentifier::KI_PAUSE:
|
||||
return NavCommand::Menu;
|
||||
case Rml::Input::KeyIdentifier::KI_F1:
|
||||
return event.GetParameter<int>("shift_key", 0) ? NavCommand::None : NavCommand::Menu;
|
||||
case Rml::Input::KeyIdentifier::KI_NEXT:
|
||||
return NavCommand::Next;
|
||||
case Rml::Input::KeyIdentifier::KI_PRIOR:
|
||||
|
||||
Reference in New Issue
Block a user