1
0
Fork 0
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:
Emmanouil Papadeas 2024-04-13 19:15:37 +03:00
parent 9a1464f73b
commit c3bb85f6c9

View file

@ -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)