consistent 10

This commit is contained in:
Sander Land committed 2020-11-15 20:54:49 +01:00
1 parent 0d03bb1831
commit c9e3e2aad4
3 files changed
+6 -6

No files matched your search

+2 -2
View File
@@ -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.
+2 -2
View File
@@ -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":
+2 -2
View File
@@ -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)