mirror of
https://github.com/Orama-Interactive/Pixelorama.git
synced 2025-01-18 17:19:50 +00:00
Fix dimension label showing fractions in the final image size in the Export dialog
This commit is contained in:
parent
9a1464f73b
commit
c3bb85f6c9
|
@ -236,7 +236,7 @@ func create_layer_list() -> void:
|
|||
|
||||
func update_dimensions_label() -> void:
|
||||
if _preview_images.size() > 0:
|
||||
var new_size: Vector2 = _preview_images[0].image.get_size() * (Export.resize / 100.0)
|
||||
var new_size: Vector2i = _preview_images[0].image.get_size() * (Export.resize / 100.0)
|
||||
dimension_label.text = str(new_size.x, "×", new_size.y)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue