mirror of
https://github.com/Relintai/pandemonium_paint_experimental.git
synced 2024-11-07 16:52:10 +01:00
Right click will go back from the bucket tool to the previous tool.
This commit is contained in:
parent
da9b93fef6
commit
0474e50c53
@ -111,6 +111,8 @@ func handle_right_mouse_button_down(local_position : Vector2, event: InputEvent)
|
|||||||
elif current_tool == TOOL_PASTECUT:
|
elif current_tool == TOOL_PASTECUT:
|
||||||
commit_action()
|
commit_action()
|
||||||
current_tool = TOOL_PENCIL
|
current_tool = TOOL_PENCIL
|
||||||
|
elif current_tool == TOOL_BUCKET:
|
||||||
|
current_tool = get_previous_tool()
|
||||||
|
|
||||||
tool_process(local_position, event)
|
tool_process(local_position, event)
|
||||||
|
|
||||||
|
@ -28,7 +28,7 @@ size = Vector2( 32, 32 )
|
|||||||
|
|
||||||
[node name="PaintProject" type="PaintProject"]
|
[node name="PaintProject" type="PaintProject"]
|
||||||
size = Vector2i( 128, 128 )
|
size = Vector2i( 128, 128 )
|
||||||
current_color = Color( 0.0666667, 0.796078, 0.196078, 1 )
|
current_color = Color( 0.658824, 0.313726, 0.207843, 1 )
|
||||||
color_presets = PoolColorArray( 0.67914, 0.117493, 0.0852439, 1, 0.129412, 0.113725, 0.384314, 1, 0.0666667, 0.796078, 0.196078, 1, 0.0666667, 0.796078, 0.196078, 1, 0.964706, 0.992157, 0.121569, 1, 0.00784314, 0.835294, 0.564706, 1, 0.0666667, 0.796078, 0.196078, 1, 0.658824, 0.313726, 0.207843, 1 )
|
color_presets = PoolColorArray( 0.67914, 0.117493, 0.0852439, 1, 0.129412, 0.113725, 0.384314, 1, 0.0666667, 0.796078, 0.196078, 1, 0.0666667, 0.796078, 0.196078, 1, 0.964706, 0.992157, 0.121569, 1, 0.00784314, 0.835294, 0.564706, 1, 0.0666667, 0.796078, 0.196078, 1, 0.658824, 0.313726, 0.207843, 1 )
|
||||||
script = ExtResource( 2 )
|
script = ExtResource( 2 )
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user