diff --git a/main.go b/main.go index 2f00fc4..a0ec1bd 100644 --- a/main.go +++ b/main.go @@ -219,12 +219,12 @@ func keyPress(e *tk.Event) { } else { destroyFileList(true) } - case "Up", "Right": + case "Up", "Left": if curr > 0 { updateImage(filepath.Join(directoryState.currentDirectory, directoryState.images[curr-1])) moveSelectInFileList(curr - 1) } - case "Down", "Left": + case "Down", "Right": if curr < len(directoryState.images)-1 && curr != -1 { updateImage(filepath.Join(directoryState.currentDirectory, directoryState.images[curr+1])) moveSelectInFileList(curr + 1)