From df103e4070ac052eac0ecb93355d07d11e27e97c Mon Sep 17 00:00:00 2001 From: PhatPhuckDave Date: Thu, 4 Sep 2025 16:52:34 +0200 Subject: [PATCH] Vimify the cropping --- croppa/main.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/croppa/main.py b/croppa/main.py index 98af8b4..08ee802 100644 --- a/croppa/main.py +++ b/croppa/main.py @@ -1327,27 +1327,27 @@ class VideoEditor: self.render_video(str(self.video_path.parent / output_name)) # Individual direction controls using shift combinations we can detect - elif key == ord("I"): # Shift+i - expand up + elif key == ord("J"): # Shift+i - expand up self.adjust_crop_size('up', False) print(f"Expanded crop upward by {self.crop_size_step}px") elif key == ord("K"): # Shift+k - expand down self.adjust_crop_size('down', False) print(f"Expanded crop downward by {self.crop_size_step}px") - elif key == ord("J"): # Shift+j - expand left + elif key == ord("L"): # Shift+j - expand left self.adjust_crop_size('left', False) print(f"Expanded crop leftward by {self.crop_size_step}px") - elif key == ord("L"): # Shift+l - expand right + elif key == ord("H"): # Shift+l - expand right self.adjust_crop_size('right', False) print(f"Expanded crop rightward by {self.crop_size_step}px") # Contract in specific directions - elif key == ord("i"): # i - contract from bottom (reduce height from bottom) + elif key == ord("k"): # i - contract from bottom (reduce height from bottom) self.adjust_crop_size('up', True) print(f"Contracted crop from bottom by {self.crop_size_step}px") - elif key == ord("k"): # k - contract from top (reduce height from top) + elif key == ord("j"): # k - contract from top (reduce height from top) self.adjust_crop_size('down', True) print(f"Contracted crop from top by {self.crop_size_step}px") - elif key == ord("j"): # j - contract from right (reduce width from right) + elif key == ord("h"): # j - contract from right (reduce width from right) self.adjust_crop_size('left', True) print(f"Contracted crop from right by {self.crop_size_step}px") elif key == ord("l"): # l - contract from left (reduce width from left)