fixed uninitialized children array in RootElement
This commit is contained in:
parent
2e0bda7a6e
commit
4f2b6e7c53
@ -1,7 +1,7 @@
|
|||||||
package lib.ui.elements;
|
package lib.ui.elements;
|
||||||
|
|
||||||
class RootElement implements IUIElement {
|
class RootElement implements IUIElement {
|
||||||
private var children:Array<IUIElement>;
|
private var children:Array<IUIElement> = [];
|
||||||
private final eventManager:UIEventManager = new UIEventManager();
|
private final eventManager:UIEventManager = new UIEventManager();
|
||||||
private var title:String = "";
|
private var title:String = "";
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user