From afeeaf0a9033b10041d8055e561baa8161be94b7 Mon Sep 17 00:00:00 2001 From: jfboeve Date: Mon, 29 Sep 2025 10:30:42 +0200 Subject: [PATCH] fixed node w / h references for inpector --- src/main-api/Inspector.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main-api/Inspector.ts b/src/main-api/Inspector.ts index d379d08b..f7c89726 100644 --- a/src/main-api/Inspector.ts +++ b/src/main-api/Inspector.ts @@ -100,14 +100,14 @@ const stylePropertyMap: { y: (y) => { return { prop: 'top', value: `${y}px` }; }, - width: (w) => { + w: (w) => { if (w === 0) { return null; } return { prop: 'width', value: `${w}px` }; }, - height: (h) => { + h: (h) => { if (h === 0) { return null; }