From 8d279b31a5840154623d38b7d6ef7a4e5afe9d8c Mon Sep 17 00:00:00 2001 From: Djeeberjr Date: Fri, 6 May 2022 13:39:45 +0200 Subject: [PATCH] fixed typo --- src/lib/ui/reactive/ListElement.hx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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;