1
0
Fork 0
mirror of https://github.com/Orama-Interactive/Pixelorama.git synced 2025-01-18 17:19:50 +00:00

Slightly increase the layer container minimum size to match the layer buttons

This commit is contained in:
Emmanouil Papadeas 2024-02-09 14:50:18 +02:00
parent 3935bfd2d3
commit a05dbabf98

View file

@ -116,7 +116,7 @@ func _notification(what: int) -> void:
drag_highlight.hide()
elif what == NOTIFICATION_THEME_CHANGED:
if is_instance_valid(layer_settings_container):
layer_container.custom_minimum_size.x = layer_settings_container.size.x
layer_container.custom_minimum_size.x = layer_settings_container.size.x + 12
func _input(event: InputEvent) -> void: