From c3bb85f6c936a7a3fa4f1b170ceaaeb9fcf608f1 Mon Sep 17 00:00:00 2001 From: Emmanouil Papadeas <35376950+OverloadedOrama@users.noreply.github.com> Date: Sat, 13 Apr 2024 19:15:37 +0300 Subject: [PATCH] Fix dimension label showing fractions in the final image size in the Export dialog --- src/UI/Dialogs/ExportDialog.gd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/UI/Dialogs/ExportDialog.gd b/src/UI/Dialogs/ExportDialog.gd index 128b16107..463368383 100644 --- a/src/UI/Dialogs/ExportDialog.gd +++ b/src/UI/Dialogs/ExportDialog.gd @@ -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)