From c6b3adceb48a786d49c08ea3e5a76665f12fd0fe Mon Sep 17 00:00:00 2001 From: Variable Date: Tue, 26 Nov 2024 17:13:19 +0500 Subject: [PATCH] formatting --- src/Autoload/Tools.gd | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/Autoload/Tools.gd b/src/Autoload/Tools.gd index 5cff9e158..48a0c3170 100644 --- a/src/Autoload/Tools.gd +++ b/src/Autoload/Tools.gd @@ -639,17 +639,13 @@ func handle_draw(position: Vector2i, event: InputEvent) -> void: and active_button == -1 and not pen_inverted ) - or ( - event.is_action_pressed(&"activate_left_tool") and active_button == -1 and pen_inverted - ) + or event.is_action_pressed(&"activate_left_tool") and active_button == -1 and pen_inverted ): active_button = MOUSE_BUTTON_RIGHT _slots[active_button].tool_node.draw_start(draw_pos) elif ( (event.is_action_released(&"activate_right_tool") and active_button == MOUSE_BUTTON_RIGHT) - or ( - event.is_action_released(&"activate_left_tool") and active_button == MOUSE_BUTTON_RIGHT - ) + or event.is_action_released(&"activate_left_tool") and active_button == MOUSE_BUTTON_RIGHT ): _slots[active_button].tool_node.draw_end(draw_pos) active_button = -1