Show node preview resolution in 2d view

This commit is contained in:
luboslenco
2025-10-19 22:51:51 +02:00
parent 7ec7289925
commit 0b469a8a1f
+1 -1
View File
@@ -354,7 +354,7 @@ function ui_view2d_render() {
ui._x += ew * 0.7 + 3;
ui._y = 2 + start_y;
if (ui_view2d_type == view_2d_type_t.ASSET && tex != null) { // Texture resolution
if ((ui_view2d_type == view_2d_type_t.ASSET || ui_view2d_type == view_2d_type_t.NODE) && tex != null) { // Texture resolution
ui_text(tex.width + "x" + tex.height);
ui._x += ew * 0.7 + 3;
ui._y = 2 + start_y;