diff --git a/src/nodes/Canvas2d/EmptySpace.ts b/src/nodes/Canvas2d/EmptySpace.ts index 68bce41..c7cfbcc 100644 --- a/src/nodes/Canvas2d/EmptySpace.ts +++ b/src/nodes/Canvas2d/EmptySpace.ts @@ -68,8 +68,8 @@ export default class EmptySpace extends Canvas2d this.out.right.value = right; this.out.bottom.value = bottom; this.out.left.value = left; - this.out.w.value = right - left; - this.out.h.value = bottom - top; + this.out.w.value = right - left + 1; + this.out.h.value = bottom - top + 1; return canvas; } } \ No newline at end of file