Add keyboard shortcut to expand settings panel

PR #2260 <https://github.com/Genymobile/scrcpy/pull/2260>

Signed-off-by: Romain Vimont <rom@rom1v.com>
This commit is contained in:
brunoais 2021-04-20 18:31:39 +02:00 committed by Romain Vimont
parent e081b5a59a
commit 70f7e07c1e

View File

@ -524,8 +524,10 @@ input_manager_process_key(struct input_manager *im,
if (control && !repeat && down) {
if (shift) {
collapse_panels(controller);
} else {
} else if (im->key_repeat == 0) {
expand_notification_panel(controller);
} else {
expand_settings_panel(controller);
}
}
return;