Skip to content

Commit

Permalink
Change ! to not
Browse files Browse the repository at this point in the history
  • Loading branch information
Jowan-Spooner committed Nov 11, 2024
1 parent 568aced commit fb1a458
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -312,8 +312,8 @@ func _on_event_block_gui_input(event: InputEvent, item: Node) -> void:

drag_allowed = true

if event.is_released() and !%TimelineArea.dragging and !Input.is_key_pressed(KEY_SHIFT):
if len(selected_items) > 1 and item in selected_items and !Input.is_key_pressed(KEY_CTRL):
if event.is_released() and not %TimelineArea.dragging and not Input.is_key_pressed(KEY_SHIFT):
if len(selected_items) > 1 and item in selected_items and not Input.is_key_pressed(KEY_CTRL):
deselect_all_items()
select_item(item)

Expand Down

0 comments on commit fb1a458

Please sign in to comment.