mirror of
https://github.com/tonytins/CozyPixelStudio.git
synced 2025-06-25 09:24:44 -04:00
Changes to layer re-naming
Layer's LineEdit saves the changes when it loses focus, or when the user presses ESC (or Enter)
This commit is contained in:
parent
d64b4edb96
commit
2614ac5b3a
2 changed files with 17 additions and 17 deletions
|
@ -12,6 +12,7 @@ margin_bottom = 36.0
|
|||
rect_min_size = Vector2( 212, 36 )
|
||||
size_flags_horizontal = 0
|
||||
toggle_mode = true
|
||||
action_mode = 0
|
||||
script = ExtResource( 1 )
|
||||
__meta__ = {
|
||||
"_edit_horizontal_guides_": [ ],
|
||||
|
@ -93,3 +94,4 @@ caret_blink_speed = 0.5
|
|||
[connection signal="pressed" from="." to="." method="_on_LayerContainer_pressed"]
|
||||
[connection signal="pressed" from="HBoxContainer/LayerButtons/VisibilityButton" to="." method="_on_VisibilityButton_pressed"]
|
||||
[connection signal="pressed" from="HBoxContainer/LayerButtons/LockButton" to="." method="_on_LockButton_pressed"]
|
||||
[connection signal="focus_exited" from="HBoxContainer/LayerName/LineEdit" to="." method="_on_LineEdit_focus_exited"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue