1
0
Fork 0
mirror of https://github.com/Orama-Interactive/Pixelorama.git synced 2025-02-20 12:33:14 +00:00

fix export expand mode

This commit is contained in:
Variable 2024-09-14 12:37:51 +05:00
parent 452200b19c
commit c935b689d9

View file

@ -163,6 +163,7 @@ func create_preview_container() -> VBoxContainer:
func create_preview_rect() -> TextureRect:
var preview := TextureRect.new()
preview.expand_mode = TextureRect.EXPAND_IGNORE_SIZE
preview.size_flags_horizontal = Control.SIZE_EXPAND_FILL
preview.size_flags_vertical = Control.SIZE_EXPAND_FILL
preview.stretch_mode = TextureRect.STRETCH_KEEP_ASPECT_CENTERED