diff --git a/Assets/Graphics/Tools/Eraser_Cursor.png b/Assets/Graphics/Tools/Eraser_Cursor.png index a1504949a..f6abcc245 100644 Binary files a/Assets/Graphics/Tools/Eraser_Cursor.png and b/Assets/Graphics/Tools/Eraser_Cursor.png differ diff --git a/Main.tscn b/Main.tscn index 1be07a7f7..54078562c 100644 --- a/Main.tscn +++ b/Main.tscn @@ -215,6 +215,7 @@ rect_min_size = Vector2( 224, 0 ) size_flags_vertical = 3 [node name="Tools" type="VBoxContainer" parent="MenuAndUI/UI/ToolPanel"] +editor/display_folded = true anchor_right = 1.0 anchor_bottom = 1.0 margin_left = 8.0 @@ -557,7 +558,6 @@ step = 0.01 value = 0.1 [node name="LeftMirroring" type="VBoxContainer" parent="MenuAndUI/UI/ToolPanel/Tools/ColorAndToolOptions/LeftToolOptions"] -editor/display_folded = true margin_top = 112.0 margin_right = 208.0 margin_bottom = 155.0 diff --git a/Scripts/Guides.gd b/Scripts/Guides.gd index 4d4e2d603..f75fa8a6b 100644 --- a/Scripts/Guides.gd +++ b/Scripts/Guides.gd @@ -14,7 +14,7 @@ func _ready() -> void: # warning-ignore:unused_argument func _process(delta : float) -> void: - width = Global.camera.zoom.x + width = Global.camera.zoom.x * 2 mouse_pos = get_local_mouse_position() var point0 := points[0] var point1 := points[1] diff --git a/Scripts/SelectionRectangle.gd b/Scripts/SelectionRectangle.gd index 58c225ecc..6cb152562 100644 --- a/Scripts/SelectionRectangle.gd +++ b/Scripts/SelectionRectangle.gd @@ -96,7 +96,7 @@ func _process(delta : float) -> void: #Handle copy if Input.is_action_just_pressed("copy") && Global.selected_pixels.size() > 0: - #And save as custom brush + #Save as custom brush var brush_img := Image.new() brush_img = layer.get_rect(Rect2(polygon[0], polygon[2] - polygon[0])) if brush_img.is_invisible(): @@ -105,6 +105,7 @@ func _process(delta : float) -> void: Global.custom_brushes.append(brush_img) Global.create_brush_button(brush_img) + #Have it in the clipboard so it can be pasted later Global.image_clipboard = layer.get_rect(Rect2(polygon[0], polygon[2] - polygon[0])) #Handle paste