mirror of
https://repo.dec05eba.com/gpu-screen-recorder-ui
synced 2026-05-04 22:10:44 +09:00
Support f16-f24 keys, fix keyboard grab remaining grabbed for hotkeys when not using modifier and changing hotkeys
This commit is contained in:
@@ -535,7 +535,7 @@ namespace gsr {
|
||||
if(mgl::Keyboard::key_is_modifier(event.key.code)) {
|
||||
configure_config_hotkey.modifiers |= mgl_modifier_to_hotkey_modifier(event.key.code);
|
||||
configure_hotkey_button->set_text(configure_config_hotkey.to_string());
|
||||
} else if(configure_config_hotkey.modifiers != 0 || !key_is_alpha_numerical(event.key.code)) {
|
||||
} else if(event.key.code != mgl::Keyboard::Unknown && (configure_config_hotkey.modifiers != 0 || !key_is_alpha_numerical(event.key.code))) {
|
||||
configure_config_hotkey.key = event.key.code;
|
||||
configure_hotkey_button->set_text(configure_config_hotkey.to_string());
|
||||
configure_hotkey_stop_and_save();
|
||||
|
||||
Reference in New Issue
Block a user