I'm trying to build a html5 build.
But! I cant track window(canvas) size.
That is what I get:
weird_resize.png 993.67KB 0 downloads
Everything is wrong:
display.contentWidth is 1280
I have tryed to use: https://github.com/develephant/corona-html5-windowSize-plugin
and it shows that info.innerWidth is 1536
I measured canvas screen width - it is 1600
My game GUI is adative - so it supports anything. If I'm using 1536 - it got cropped.
Can someone help me to get proper size of the window?
Or maybe my problem is a css? How to restrain corona display width and height?