fix(main.py): reset zoom factor to 1.0 and save state when crop is cleared
This commit is contained in:
@@ -2020,6 +2020,7 @@ class VideoEditor:
|
|||||||
if self.crop_rect:
|
if self.crop_rect:
|
||||||
self.crop_history.append(self.crop_rect)
|
self.crop_history.append(self.crop_rect)
|
||||||
self.crop_rect = None
|
self.crop_rect = None
|
||||||
|
self.zoom_factor = 1.0
|
||||||
self.save_state() # Save state when crop is cleared
|
self.save_state() # Save state when crop is cleared
|
||||||
elif key == ord("1"):
|
elif key == ord("1"):
|
||||||
# Cut markers only for videos
|
# Cut markers only for videos
|
||||||
|
Reference in New Issue
Block a user