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 = "";