Skip to content

Commit 0b469a8

Browse files
committed
Show node preview resolution in 2d view
1 parent 7ec7289 commit 0b469a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

paint/sources/ui_view2d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,7 @@ function ui_view2d_render() {
354354
ui._x += ew * 0.7 + 3;
355355
ui._y = 2 + start_y;
356356

357-
if (ui_view2d_type == view_2d_type_t.ASSET && tex != null) { // Texture resolution
357+
if ((ui_view2d_type == view_2d_type_t.ASSET || ui_view2d_type == view_2d_type_t.NODE) && tex != null) { // Texture resolution
358358
ui_text(tex.width + "x" + tex.height);
359359
ui._x += ew * 0.7 + 3;
360360
ui._y = 2 + start_y;

0 commit comments

Comments
 (0)