From 0b469a8a1fce17cf17af0eb6db21a14cf6eddc41 Mon Sep 17 00:00:00 2001 From: luboslenco Date: Sun, 19 Oct 2025 22:51:51 +0200 Subject: [PATCH] Show node preview resolution in 2d view --- paint/sources/ui_view2d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paint/sources/ui_view2d.ts b/paint/sources/ui_view2d.ts index 450e8e0a..ec645d3d 100644 --- a/paint/sources/ui_view2d.ts +++ b/paint/sources/ui_view2d.ts @@ -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;