panel: slide the panel up faster on ctrl-f11

This commit is contained in:
K. Lange 2021-07-26 21:05:27 +09:00
parent a96c7b3f2b
commit 558ec0993e

View File

@ -201,14 +201,14 @@ static void toggle_hide_panel(void) {
/* Unhide the panel */
for (int i = PANEL_HEIGHT-1; i >= 0; i--) {
yutani_window_move(yctx, panel, 0, -i);
usleep(10000);
usleep(3000);
}
panel_hidden = 0;
} else {
/* Hide the panel */
for (int i = 1; i <= PANEL_HEIGHT-1; i++) {
yutani_window_move(yctx, panel, 0, -i);
usleep(10000);
usleep(3000);
}
panel_hidden = 1;
}