1
0
Fork 0
mirror of https://github.com/Orama-Interactive/Pixelorama.git synced 2025-01-31 07:29:49 +00:00

Change tool order

This commit is contained in:
Emmanouil Papadeas 2025-01-22 17:38:25 +02:00
parent f91b55672a
commit 9155d79777

View file

@ -88,6 +88,15 @@ var tools := {
"paint_selection", "paint_selection",
"res://src/Tools/SelectionTools/PaintSelect.tscn" "res://src/Tools/SelectionTools/PaintSelect.tscn"
), ),
"Crop":
Tool.new(
"Crop",
"Crop",
"crop",
"res://src/Tools/UtilityTools/CropTool.tscn",
[],
"Resize the canvas"
),
"Move": "Move":
Tool.new( Tool.new(
"Move", "Move",
@ -98,6 +107,15 @@ var tools := {
), ),
"Zoom": Tool.new("Zoom", "Zoom", "zoom", "res://src/Tools/UtilityTools/Zoom.tscn"), "Zoom": Tool.new("Zoom", "Zoom", "zoom", "res://src/Tools/UtilityTools/Zoom.tscn"),
"Pan": Tool.new("Pan", "Pan", "pan", "res://src/Tools/UtilityTools/Pan.tscn"), "Pan": Tool.new("Pan", "Pan", "pan", "res://src/Tools/UtilityTools/Pan.tscn"),
"Text":
Tool.new(
"Text",
"Text",
"text",
"res://src/Tools/UtilityTools/Text.tscn",
[Global.LayerTypes.PIXEL, Global.LayerTypes.TILEMAP],
""
),
"ColorPicker": "ColorPicker":
Tool.new( Tool.new(
"ColorPicker", "ColorPicker",
@ -107,15 +125,6 @@ var tools := {
[], [],
"Select a color from a pixel of the sprite" "Select a color from a pixel of the sprite"
), ),
"Crop":
Tool.new(
"Crop",
"Crop",
"crop",
"res://src/Tools/UtilityTools/CropTool.tscn",
[],
"Resize the canvas"
),
"Pencil": "Pencil":
Tool.new( Tool.new(
"Pencil", "Pencil",
@ -213,15 +222,6 @@ Hold %s to displace the shape's origin""",
["shape_perfect", "shape_center", "shape_displace"] ["shape_perfect", "shape_center", "shape_displace"]
) )
), ),
"Text":
Tool.new(
"Text",
"Text",
"text",
"res://src/Tools/UtilityTools/Text.tscn",
[Global.LayerTypes.PIXEL, Global.LayerTypes.TILEMAP],
""
),
"3DShapeEdit": "3DShapeEdit":
Tool.new( Tool.new(
"3DShapeEdit", "3DShapeEdit",