From 1a05963c318ddf81b98255bafe2680ac2a4226e0 Mon Sep 17 00:00:00 2001 From: PhatPhuckDave Date: Mon, 8 Sep 2025 00:49:21 +0200 Subject: [PATCH] fix(main.py): reset zoom factor to 1.0 and save state when crop is cleared --- croppa/main.py | 1 + 1 file changed, 1 insertion(+) diff --git a/croppa/main.py b/croppa/main.py index e24b5e0..2f8af86 100644 --- a/croppa/main.py +++ b/croppa/main.py @@ -2020,6 +2020,7 @@ class VideoEditor: if self.crop_rect: self.crop_history.append(self.crop_rect) self.crop_rect = None + self.zoom_factor = 1.0 self.save_state() # Save state when crop is cleared elif key == ord("1"): # Cut markers only for videos