Remove unnecessary mouse interaction handling in VideoEditor when in project view mode, streamlining the mouse callback functionality.
This commit is contained in:
@@ -1740,10 +1740,6 @@ class VideoEditor:
|
|||||||
|
|
||||||
def mouse_callback(self, event, x, y, flags, _):
|
def mouse_callback(self, event, x, y, flags, _):
|
||||||
"""Handle mouse events"""
|
"""Handle mouse events"""
|
||||||
# Handle project view mode - no mouse interaction needed
|
|
||||||
if self.project_view_mode and self.project_view:
|
|
||||||
return
|
|
||||||
|
|
||||||
# Handle timeline interaction (not for images)
|
# Handle timeline interaction (not for images)
|
||||||
if self.timeline_rect and not self.is_image_mode:
|
if self.timeline_rect and not self.is_image_mode:
|
||||||
bar_x_start, bar_y, bar_width, bar_height = self.timeline_rect
|
bar_x_start, bar_y, bar_width, bar_height = self.timeline_rect
|
||||||
|
Reference in New Issue
Block a user