haxeui / haxeui-openfl

The OpenFL backend of the HaxeUI framework -
http://haxeui.org
MIT License
42 stars 14 forks source link

ScreenBase should not add to stage #3

Closed MSGhero closed 7 years ago

MSGhero commented 7 years ago

ScreenBase should not be adding directly to the stage like here. It would be better to add to a user-specified "container":

Toolkit.init( {
     container : myGame
} );

or something like that.

ianharrigan commented 7 years ago

This should be working now... Can you close if it works as you expect?

Cheers, Ian

MSGhero commented 7 years ago

It'll have to wait until this weekend, but yes I will do that.

MSGhero commented 7 years ago

Haha maybe this weekend.

MSGhero commented 7 years ago

@ianharrigan I messaged you on slack. This probably works, but I can't test it out in flixel yet.

ianharrigan commented 7 years ago

https://github.com/haxeui/haxeui-core/issues/49

ianharrigan commented 7 years ago

^^ bump... can we close this if its no longer relevant / valid?

Cheers.