1
0
Fork 0
mirror of https://github.com/Orama-Interactive/Pixelorama.git synced 2025-02-23 14:03:13 +00:00

Hide Flip/Rotate buttons where it is unnecessary

This commit is contained in:
RorotoSic 2024-03-03 11:11:27 +01:00
parent c37295ef3b
commit 0193a92b09
3 changed files with 19 additions and 1 deletions

View file

@ -5,3 +5,9 @@
[node name="ToolOptions" instance=ExtResource("1")] [node name="ToolOptions" instance=ExtResource("1")]
script = ExtResource("2") script = ExtResource("2")
[node name="Flip" parent="." index="4"]
visible = false
[node name="Rotate" parent="." index="5"]
visible = false

View file

@ -16,7 +16,13 @@ suffix = "px"
global_increment_action = "brush_size_increment" global_increment_action = "brush_size_increment"
global_decrement_action = "brush_size_decrement" global_decrement_action = "brush_size_decrement"
[node name="Brush" parent="." index="3"] [node name="Flip" parent="." index="3"]
visible = false
[node name="Rotate" parent="." index="4"]
visible = false
[node name="Brush" parent="." index="5"]
visible = false visible = false
[connection signal="value_changed" from="ThicknessSlider" to="." method="_on_Thickness_value_changed"] [connection signal="value_changed" from="ThicknessSlider" to="." method="_on_Thickness_value_changed"]

View file

@ -5,3 +5,9 @@
[node name="ToolOptions" instance=ExtResource("1")] [node name="ToolOptions" instance=ExtResource("1")]
script = ExtResource("2") script = ExtResource("2")
[node name="Flip" parent="." index="4"]
visible = false
[node name="Rotate" parent="." index="5"]
visible = false