fix(main.py): reset zoom factor to 1.0 and save state when crop is cleared

This commit is contained in:
2025-09-08 00:49:21 +02:00
parent 3a8f8d26d3
commit 1a05963c31

View File

@@ -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