fixed typo

This commit is contained in:
Djeeberjr 2022-05-06 13:39:45 +02:00
parent 6a933768d9
commit 8d279b31a5

View File

@ -62,11 +62,11 @@ class ListElement extends UIElement {
elementMap.set(new Rect(writePoint, elementMap.set(new Rect(writePoint,
{ {
x: childRender.maxWidth() + writePoint.x, x: childRender.maxWidth() + writePoint.x,
y: writePoint.y + (childRender.hight() - 1), y: writePoint.y + (childRender.height() - 1),
} }
),element); ),element);
writePoint = {x: 0, y: writePoint.y + childRender.hight()}; writePoint = {x: 0, y: writePoint.y + childRender.height()};
} }
return canvas; return canvas;