add F1 shortcut to open and close the UI
This commit is contained in:
parent
10b8151df8
commit
b4b38e0592
@ -818,6 +818,12 @@ Text GetManialink() {
|
||||
}
|
||||
}
|
||||
}
|
||||
case CMlScriptEvent::Type::KeyPress: {
|
||||
if (Event.KeyCode == 38) { // F1
|
||||
Frame_MainUI.Visible = !Frame_MainUI.Visible;
|
||||
P_DebugMode_Window_Open = Frame_MainUI.Visible;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user