HeapsIO / heaps

Heaps : Haxe Game Framework

Home Page:http://heaps.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Scaling issues

CrazyFlasher opened this issue · comments

Sample on the site resizes fine:
https://heaps.io/samples/base2D/

However if I build from source, I get weird results:
image

image
for some reason, onResize is not called.
I've debugged sample here https://heaps.io/samples/base2D/ and onResize executes during stage resize

I guess I found a commit "Remove useless listener and timer" db3ddc3 :)
image
Looks like timer did the trick

IIRC we mostly had issues with the Timer, not so much the resize callback, so I've merged you PR and will see if anything breaks on our end