mirror of
https://github.com/Orama-Interactive/Pixelorama.git
synced 2025-02-22 13:33:13 +00:00
* Add Flip X, Flip Y, Rotate 90, Rotate 180, Rotate 270 * node placement * flip_rotate for BrushButton * flip corrected for BrushButton (x, y was reversed) * code changed for github static checks * github static checks * github static checks 2 * remove " _ " before my variable name hope this was the problem * var brush_texture_rotation * Hide Flip/Rotate buttons where it is unnecessary * btns flip/rotate hide when a non-image brush is selected * rotate ButtonGroup (radio btn) * expand button for flip/rotate * radio btn grp 2 * expand button (forgot to add the tscn ) * cursor shape to pointing hand * tooltip R90 R180 R270 i dont add txt to the Translations.pot bc not sure to understand and dont want to make mistake * shading.tscn (nodes placement debreaking) back as before * Revert "expand button (forgot to add the tscn )" This reverts commit3062afe73f
. * Revert "expand button for flip/rotate" This reverts commit51189ac793
. * Collapsible Container change "expend buton" to the pixelorama custum node "CollapsibleContainer" * remove thick white outline when CollapseContainer is pressed and focus * styleboxflat when CollapseContainer is pressed and empty for checkbox * Revert "styleboxflat when CollapseContainer is pressed and empty for checkbox" This reverts commit0af0e1f427
. * StyleboxEmpty for normal / keep hover unchanged * Revert "StyleboxEmpty for normal / keep hover unchanged" This reverts commit14b3745053
. * Revert "remove thick white outline when CollapseContainer is pressed and focus" This reverts commitb80ab1ad5c
. * "flip_rotateD" + "Flat CollapsibleContainer'" * conflicts Resolved signal color_changed(color: Color, button: int) --------- Co-authored-by: Emmanouil Papadeas <35376950+OverloadedOrama@users.noreply.github.com>
35 lines
1.3 KiB
Text
35 lines
1.3 KiB
Text
[gd_scene load_steps=5 format=3 uid="uid://ceahf2toaq47l"]
|
|
|
|
[ext_resource type="PackedScene" uid="uid://ubyatap3sylf" path="res://src/Tools/BaseDraw.tscn" id="1"]
|
|
[ext_resource type="Script" path="res://src/Tools/DesignTools/LineTool.gd" id="2"]
|
|
[ext_resource type="PackedScene" uid="uid://yjhp0ssng2mp" path="res://src/UI/Nodes/ValueSlider.tscn" id="3"]
|
|
|
|
[sub_resource type="ButtonGroup" id="ButtonGroup_ko8wf"]
|
|
resource_name = "rotate"
|
|
allow_unpress = true
|
|
|
|
[node name="ToolOptions" instance=ExtResource("1")]
|
|
script = ExtResource("2")
|
|
|
|
[node name="ThicknessSlider" parent="." index="2" instance=ExtResource("3")]
|
|
layout_mode = 2
|
|
min_value = 1.0
|
|
value = 1.0
|
|
prefix = "Size:"
|
|
suffix = "px"
|
|
global_increment_action = "brush_size_increment"
|
|
global_decrement_action = "brush_size_decrement"
|
|
|
|
[node name="Rotate90" parent="RotationOptions/Rotate" index="0"]
|
|
button_group = SubResource("ButtonGroup_ko8wf")
|
|
|
|
[node name="Rotate180" parent="RotationOptions/Rotate" index="1"]
|
|
button_group = SubResource("ButtonGroup_ko8wf")
|
|
|
|
[node name="Rotate270" parent="RotationOptions/Rotate" index="2"]
|
|
button_group = SubResource("ButtonGroup_ko8wf")
|
|
|
|
[node name="Brush" parent="." index="4"]
|
|
visible = false
|
|
|
|
[connection signal="value_changed" from="ThicknessSlider" to="." method="_on_Thickness_value_changed"]
|