mirror of
https://github.com/Orama-Interactive/Pixelorama.git
synced 2025-01-18 17:19:50 +00:00
Fix issue with layers on the timeline having the wrong size on Greek
This commit is contained in:
parent
26da9070f8
commit
429d3469fd
|
@ -127,7 +127,8 @@ func _ready() -> void:
|
||||||
func _notification(what: int) -> void:
|
func _notification(what: int) -> void:
|
||||||
if what == NOTIFICATION_DRAG_END:
|
if what == NOTIFICATION_DRAG_END:
|
||||||
drag_highlight.hide()
|
drag_highlight.hide()
|
||||||
elif what == NOTIFICATION_THEME_CHANGED:
|
elif what == NOTIFICATION_THEME_CHANGED or what == NOTIFICATION_TRANSLATION_CHANGED:
|
||||||
|
await get_tree().process_frame
|
||||||
if is_instance_valid(layer_settings_container):
|
if is_instance_valid(layer_settings_container):
|
||||||
layer_container.custom_minimum_size.x = layer_settings_container.size.x + 12
|
layer_container.custom_minimum_size.x = layer_settings_container.size.x + 12
|
||||||
|
|
||||||
|
|
|
@ -378,6 +378,7 @@ stretch_mode = 3
|
||||||
[node name="LayerFX" type="Button" parent="TimelineContainer/TimelineButtons/LayerTools/MarginContainer/LayerSettingsContainer/LayerButtons" groups=["UIButtons"]]
|
[node name="LayerFX" type="Button" parent="TimelineContainer/TimelineButtons/LayerTools/MarginContainer/LayerSettingsContainer/LayerButtons" groups=["UIButtons"]]
|
||||||
custom_minimum_size = Vector2(24, 24)
|
custom_minimum_size = Vector2(24, 24)
|
||||||
layout_mode = 2
|
layout_mode = 2
|
||||||
|
size_flags_horizontal = 3
|
||||||
size_flags_vertical = 4
|
size_flags_vertical = 4
|
||||||
mouse_default_cursor_shape = 2
|
mouse_default_cursor_shape = 2
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue