Skip to content

Commit

Permalink
Fix dimension label showing fractions in the final image size in the …
Browse files Browse the repository at this point in the history
…Export dialog
  • Loading branch information
OverloadedOrama committed Apr 13, 2024
1 parent 9a1464f commit c3bb85f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/UI/Dialogs/ExportDialog.gd
Original file line number Diff line number Diff line change
Expand Up @@ -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)


Expand Down

0 comments on commit c3bb85f

Please sign in to comment.