Tweaks for better message skip experience

- Any key input detected in skippable wait functions will cancel the
  skip mode (regardless of skipModeInterruptable value).
- Space key (right click) in sys_getInputInfo() will no longer cancel
  the skip mode.
- Add 30ms wait in sys_hit_any_key() (used by the 'A' command) so that
  users can see what's going on while skipping.
- Cancel the skip mode when opening a menu, not when closing it.
This commit is contained in:
kichikuou
2020-12-28 22:45:51 +09:00
parent 6d5831c4e8
commit be1f048b33
2 changed files with 19 additions and 16 deletions
+2 -2
View File
@@ -408,6 +408,8 @@ void sel_select() {
int preElement = -1;
int key, prevkey = 0, i;
if (get_skipMode2()) set_skipMode(FALSE);
saveimg2 = NULL;
keymode = 0;
@@ -502,6 +504,4 @@ void sel_select() {
}
last_selected_element = 0;
}
if (get_skipMode2()) set_skipMode(FALSE);
}