Skip to content

Commit

Permalink
Merge pull request #60163 from fire-forge/texture-size-x
Browse files Browse the repository at this point in the history
  • Loading branch information
akien-mga authored Apr 12, 2022
2 parents 43f94c9 + d879d60 commit c896ba8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion editor/plugins/texture_editor_plugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ void TexturePreview::_update_metadata_label_text() {
format = texture->get_class();
}

metadata_label->set_text(itos(texture->get_width()) + "x" + itos(texture->get_height()) + " " + format);
metadata_label->set_text(vformat(String::utf8("%s×%s %s"), itos(texture->get_width()), itos(texture->get_height()), format));
}

TexturePreview::TexturePreview(Ref<Texture2D> p_texture, bool p_show_metadata) {
Expand Down

0 comments on commit c896ba8

Please sign in to comment.