diff --git a/src/lib/ui/reactive/ListElement.hx b/src/lib/ui/reactive/ListElement.hx index d5373ce..ec05bfd 100644 --- a/src/lib/ui/reactive/ListElement.hx +++ b/src/lib/ui/reactive/ListElement.hx @@ -62,11 +62,11 @@ class ListElement extends UIElement { elementMap.set(new Rect(writePoint, { x: childRender.maxWidth() + writePoint.x, - y: writePoint.y + (childRender.hight() - 1), + y: writePoint.y + (childRender.height() - 1), } ),element); - writePoint = {x: 0, y: writePoint.y + childRender.hight()}; + writePoint = {x: 0, y: writePoint.y + childRender.height()}; } return canvas;