Unverified Kaydet (Commit) 0a132818 authored tarafından ntsagko's avatar ntsagko Kaydeden (comit) GitHub

Change keys to left, right for linux users

üst 54a2d79c
......@@ -213,9 +213,9 @@ def run(generator, args, anchor_params):
# press right for next image and left for previous (linux)
# if you run macOS, it might be convenient using "n" and "m" key (key == 110 and key == 109)
if key == 109:
if key == 83:
i = (i + 1) % generator.size()
if key == 110:
if key == 81:
i -= 1
if i < 0: i = generator.size() - 1
# press q or Esc to quit
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment