From 4f2b6e7c53cf442b331314d736b3c55282950f4d Mon Sep 17 00:00:00 2001 From: Niklas Kapelle Date: Sat, 17 Aug 2024 01:11:38 +0200 Subject: [PATCH] fixed uninitialized children array in RootElement --- src/lib/ui/elements/RootElement.hx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/ui/elements/RootElement.hx b/src/lib/ui/elements/RootElement.hx index 8e3f255..79538ef 100644 --- a/src/lib/ui/elements/RootElement.hx +++ b/src/lib/ui/elements/RootElement.hx @@ -1,7 +1,7 @@ package lib.ui.elements; class RootElement implements IUIElement { - private var children:Array; + private var children:Array = []; private final eventManager:UIEventManager = new UIEventManager(); private var title:String = "";