diff options
author | Paul Oliver <contact@pauloliver.dev> | 2024-02-29 02:29:14 +0100 |
---|---|---|
committer | Paul Oliver <contact@pauloliver.dev> | 2024-02-29 02:29:14 +0100 |
commit | c83a79dc96d0745b390a46e272cbfb59533b23d3 (patch) | |
tree | 8caa388e0c5b3b8f84ac6fe2c9b1dd0b70bd809c /bin/handler.py | |
parent | 76979c3530ed5303946cbb94657b3ba50c757e01 (diff) |
Fast vertical pan on World page.
[#24] Capital W and S keys now apply fast vertical pan on World page.
Diffstat (limited to 'bin/handler.py')
-rw-r--r-- | bin/handler.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/handler.py b/bin/handler.py index 9c8ffaf..2bc8c25 100644 --- a/bin/handler.py +++ b/bin/handler.py @@ -70,8 +70,10 @@ class Handler: self.__printer.world.pan_up() self.__printer.proc_scroll_up() elif cmd == ord("S"): + self.__printer.world.pan_down(fast=True) self.__printer.proc_scroll_down(fast=True) elif cmd == ord("W"): + self.__printer.world.pan_up(fast=True) self.__printer.proc_scroll_up(fast=True) elif cmd == ord("Q"): self.__printer.world.pan_reset() |