1
0
Fork 0
mirror of https://github.com/Orama-Interactive/Pixelorama.git synced 2025-02-20 12:33:14 +00:00

Fix global increment/decrement actions of shape tools and change "Fill Shape3D" to "Fill Shape"

This commit is contained in:
Emmanouil Papadeas 2023-11-01 17:33:53 +02:00
parent 7404bf23de
commit 8ffcfd7bd9

View file

@ -2,26 +2,25 @@
[ext_resource type="Script" path="res://src/Tools/ShapeDrawer.gd" id="1"]
[ext_resource type="PackedScene" uid="uid://ubyatap3sylf" path="res://src/Tools/Draw.tscn" id="2"]
[ext_resource type="PackedScene" path="res://src/UI/Nodes/ValueSlider.tscn" id="3"]
[ext_resource type="PackedScene" uid="uid://yjhp0ssng2mp" path="res://src/UI/Nodes/ValueSlider.tscn" id="3"]
[node name="ToolOptions" instance=ExtResource("2")]
script = ExtResource("1")
[node name="ThicknessSlider" parent="." index="2" instance=ExtResource("3")]
layout_mode = 2
focus_mode = 2
theme_type_variation = &"ValueSlider"
min_value = 1.0
value = 1.0
prefix = "Size:"
suffix = "px"
is_global = true
global_increment_action = "brush_size_increment"
global_decrement_action = "brush_size_decrement"
[node name="FillCheckbox" type="CheckBox" parent="." index="3"]
layout_mode = 2
tooltip_text = "Fills the drawn shape with color, instead of drawing a hollow shape"
mouse_default_cursor_shape = 2
text = "Fill Shape3D"
text = "Fill Shape"
[node name="Brush" parent="." index="4"]
visible = false