diff --git a/README.md b/README.md index 3cb03d7..f9306ed 100644 --- a/README.md +++ b/README.md @@ -177,8 +177,8 @@ In addition to shortcuts mentioned above and those shown in the main menu: * **[~]** or **[ ` ]** or **[m]**: Cycles through more minimalistic UI modes. * **[p]**: Pass * **[b]**: Pause/Resume timer -* **[arrow left]** or **[z]**: Undo move. Hold alt for 5 moves at a time, or ctrl to skip to the start. -* **[arrow right]** or **[x]**: Redo move. Hold alt for 5 moves at a time, or ctrl to skip to the start. +* **[arrow left]** or **[z]**: Undo move. Hold alt for 10 moves at a time, or ctrl to skip to the start. +* **[arrow right]** or **[x]**: Redo move. Hold alt for 10 moves at a time, or ctrl to skip to the start. * **[arrow up/down]** Switch branch, as would be expected from the move tree. * **[home/end]** Go to the beginning/end of the game. * **[scroll up]**: Undo move. Only works when hovering the cursor over the board. diff --git a/katrain/__main__.py b/katrain/__main__.py index 9cf8936..187d827 100644 --- a/katrain/__main__.py +++ b/katrain/__main__.py @@ -495,9 +495,9 @@ class KaTrainGui(Screen, KaTrainBase): elif keycode[1] in ["`", "~", "m"] and ctrl_pressed: self.zen = (self.zen + 1) % 3 elif keycode[1] in ["left", "z"]: - self("undo", 1 + alt_pressed * 4 + (ctrl_pressed and not alt_pressed) * 999) + self("undo", 1 + alt_pressed * 9 + (ctrl_pressed and not alt_pressed) * 999) elif keycode[1] in ["right", "x"]: - self("redo", 1 + alt_pressed * 4 + (ctrl_pressed and not alt_pressed) * 999) + self("redo", 1 + alt_pressed * 9 + (ctrl_pressed and not alt_pressed) * 999) elif keycode[1] == "home": self("undo", 999) elif keycode[1] == "end": diff --git a/katrain/gui.kv b/katrain/gui.kv index bf220d9..d477203 100644 --- a/katrain/gui.kv +++ b/katrain/gui.kv @@ -206,7 +206,7 @@ on_press: root.katrain('undo',999) NavIconButton: icon: 'img/Previous-5.png' - on_press: root.katrain('undo',5) + on_press: root.katrain('undo',10) NavIconButton: icon: 'img/Previous.png' on_press: root.katrain('undo') @@ -230,7 +230,7 @@ on_press: root.katrain('redo') NavIconButton: icon: 'img/Next-5.png' - on_press: root.katrain('redo',5) + on_press: root.katrain('redo',10) NavIconButton: icon: 'img/Next-End.png' on_press: root.katrain('redo',999)