mirror of
https://github.com/Orama-Interactive/Pixelorama.git
synced 2025-02-21 21:13:14 +00:00
fix export expand mode
This commit is contained in:
parent
452200b19c
commit
c935b689d9
1 changed files with 1 additions and 0 deletions
|
@ -163,6 +163,7 @@ func create_preview_container() -> VBoxContainer:
|
||||||
|
|
||||||
func create_preview_rect() -> TextureRect:
|
func create_preview_rect() -> TextureRect:
|
||||||
var preview := TextureRect.new()
|
var preview := TextureRect.new()
|
||||||
|
preview.expand_mode = TextureRect.EXPAND_IGNORE_SIZE
|
||||||
preview.size_flags_horizontal = Control.SIZE_EXPAND_FILL
|
preview.size_flags_horizontal = Control.SIZE_EXPAND_FILL
|
||||||
preview.size_flags_vertical = Control.SIZE_EXPAND_FILL
|
preview.size_flags_vertical = Control.SIZE_EXPAND_FILL
|
||||||
preview.stretch_mode = TextureRect.STRETCH_KEEP_ASPECT_CENTERED
|
preview.stretch_mode = TextureRect.STRETCH_KEEP_ASPECT_CENTERED
|
||||||
|
|
Loading…
Add table
Reference in a new issue