Skip to content

Commit 61bba35

Browse files
authored
Merge branch 'main' into fix/canvas-borders
2 parents 554bd79 + 6ab9754 commit 61bba35

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main-api/Inspector.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,14 +100,14 @@ const stylePropertyMap: {
100100
y: (y) => {
101101
return { prop: 'top', value: `${y}px` };
102102
},
103-
width: (w) => {
103+
w: (w) => {
104104
if (w === 0) {
105105
return null;
106106
}
107107

108108
return { prop: 'width', value: `${w}px` };
109109
},
110-
height: (h) => {
110+
h: (h) => {
111111
if (h === 0) {
112112
return null;
113113
}

0 commit comments

Comments
 (0)