Skip to content

Commit

Permalink
Improve/fix timeline dragging
Browse files Browse the repository at this point in the history
  • Loading branch information
Jowan-Spooner committed Jan 9, 2024
1 parent af3005d commit 70be9a6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ func _on_event_block_gui_input(event, item: Node):

if len(selected_items) > 0 and event is InputEventMouseMotion:
if Input.is_mouse_button_pressed(MOUSE_BUTTON_LEFT):
if !%TimelineArea.dragging:
if !%TimelineArea.dragging and !get_viewport().gui_is_dragging():
sort_selection()
%TimelineArea.start_dragging(%TimelineArea.DragTypes.EXISTING_EVENTS, selected_items)

Expand Down

0 comments on commit 70be9a6

Please sign in to comment.