now to restore proper zoom

original post:
HI !
I work on a cross platform d#paint animation inspired tool .
https://github.com/trabitboy/zaz2nim
A problem I have on android is that on some events , on some devices,
application minimizes, and when I restore it .
To try to recreate the canvas and redo proper setup ( see dpi scale etc ),
I would like to intercept the ' visible/restored/onfocus' state of the app .
love.visible doesn't seem to work on android ?
Thanks for any pointer!