diff --git a/src/UI/Timeline/LayerButton.gd b/src/UI/Timeline/LayerButton.gd index 1a010b5c2..e2732610a 100644 --- a/src/UI/Timeline/LayerButton.gd +++ b/src/UI/Timeline/LayerButton.gd @@ -48,7 +48,7 @@ func _input(event : InputEvent) -> void: func _on_LayerContainer_gui_input(event : InputEvent) -> void: var project := Global.current_project - if event is InputEventMouseButton: + if event is InputEventMouseButton and event.button_index == BUTTON_LEFT: Global.canvas.selection.transform_content_confirm() var prev_curr_layer : int = project.current_layer if Input.is_action_pressed("shift"):