mirror of
https://github.com/Orama-Interactive/Pixelorama.git
synced 2025-02-21 13:03:13 +00:00
Fix global increment/decrement actions of shape tools and change "Fill Shape3D" to "Fill Shape"
This commit is contained in:
parent
7404bf23de
commit
8ffcfd7bd9
1 changed files with 4 additions and 5 deletions
|
@ -2,26 +2,25 @@
|
||||||
|
|
||||||
[ext_resource type="Script" path="res://src/Tools/ShapeDrawer.gd" id="1"]
|
[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" 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")]
|
[node name="ToolOptions" instance=ExtResource("2")]
|
||||||
script = ExtResource("1")
|
script = ExtResource("1")
|
||||||
|
|
||||||
[node name="ThicknessSlider" parent="." index="2" instance=ExtResource("3")]
|
[node name="ThicknessSlider" parent="." index="2" instance=ExtResource("3")]
|
||||||
layout_mode = 2
|
layout_mode = 2
|
||||||
focus_mode = 2
|
|
||||||
theme_type_variation = &"ValueSlider"
|
|
||||||
min_value = 1.0
|
min_value = 1.0
|
||||||
value = 1.0
|
value = 1.0
|
||||||
prefix = "Size:"
|
prefix = "Size:"
|
||||||
suffix = "px"
|
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"]
|
[node name="FillCheckbox" type="CheckBox" parent="." index="3"]
|
||||||
layout_mode = 2
|
layout_mode = 2
|
||||||
tooltip_text = "Fills the drawn shape with color, instead of drawing a hollow shape"
|
tooltip_text = "Fills the drawn shape with color, instead of drawing a hollow shape"
|
||||||
mouse_default_cursor_shape = 2
|
mouse_default_cursor_shape = 2
|
||||||
text = "Fill Shape3D"
|
text = "Fill Shape"
|
||||||
|
|
||||||
[node name="Brush" parent="." index="4"]
|
[node name="Brush" parent="." index="4"]
|
||||||
visible = false
|
visible = false
|
||||||
|
|
Loading…
Add table
Reference in a new issue