Hi
Using the game template, I set the windows mode in the settings
window = { defaultMode = "fullscreen", resizable = true, },
Then I added a resize listener
local function onResize( event ) print(display.contentCenterX, display.pixelWidth, display.actualContentWidth ) end Runtime:addEventListener( "resize", onResize )
then I built for HTML5. When I resize the (Chrome) window, the resize listener gets called, but none of the values change. Am I doing something wrong or is there an issue with this in HTML5 build (I don’t usually use this event in my app développement) ?