From c1b6567e424e72952426b8fe9898b3ddaf2903bb Mon Sep 17 00:00:00 2001 From: PhatPhuckDave Date: Tue, 16 Sep 2025 16:17:15 +0200 Subject: [PATCH] Update key mappings for motion tracking in VideoEditor This commit modifies the key bindings for toggling motion tracking and clearing tracking points in the VideoEditor. The keys 't' and 'T' have been changed to 'v' and 'V' respectively, improving consistency in user interactions. This update enhances the overall usability of the motion tracking features during video editing. --- croppa/main.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/croppa/main.py b/croppa/main.py index a01f4bb..46168b5 100644 --- a/croppa/main.py +++ b/croppa/main.py @@ -3042,12 +3042,12 @@ class VideoEditor: print(" p: Toggle project view") print(" 1: Set cut start point") print(" 2: Set cut end point") - print(" T: Toggle loop between markers") + print(" t: Toggle loop between markers") print() print("Motion Tracking:") print(" Right-click: Add tracking point") - print(" t: Toggle motion tracking on/off") - print(" Shift+T: Clear all tracking points") + print(" V: Toggle motion tracking on/off") + print(" Shift+V: Clear all tracking points") if len(self.video_files) > 1: print(" N: Next video") print(" n: Previous video") @@ -3219,7 +3219,7 @@ class VideoEditor: self.zoom_factor = 1.0 self.clear_transformation_cache() self.save_state() # Save state when crop is cleared - elif key == ord("t"): # T - Toggle motion tracking + elif key == ord("v"): # V - Toggle motion tracking if not self.is_image_mode: if self.motion_tracker.tracking_enabled: self.motion_tracker.stop_tracking() @@ -3234,7 +3234,7 @@ class VideoEditor: else: self.set_feedback_message("Add tracking points first (right-click)") self.save_state() - elif key == ord("T"): # Shift+T - Clear all tracking points + elif key == ord("V"): # Shift+V - Clear all tracking points if not self.is_image_mode: self.motion_tracker.clear_tracking_points() self.motion_tracker.stop_tracking()