1
0
Fork 0
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:
Emmanouil Papadeas 2024-06-01 18:29:38 +03:00
parent 26da9070f8
commit 429d3469fd
2 changed files with 3 additions and 1 deletions

View file

@ -127,7 +127,8 @@ func _ready() -> void:
func _notification(what: int) -> void:
if what == NOTIFICATION_DRAG_END:
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):
layer_container.custom_minimum_size.x = layer_settings_container.size.x + 12

View file

@ -378,6 +378,7 @@ stretch_mode = 3
[node name="LayerFX" type="Button" parent="TimelineContainer/TimelineButtons/LayerTools/MarginContainer/LayerSettingsContainer/LayerButtons" groups=["UIButtons"]]
custom_minimum_size = Vector2(24, 24)
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 4
mouse_default_cursor_shape = 2