I use cocos2d-js-v3.6.1.
I have created a clean project through cocos new. When I run a project through cocos run -p android and the screen of my device is off and locked and then I unlock the screen, I see the such problem:
The app is running on quarter of the screen and buttons are not responding.
I am sure - this is a known problem and there is a solution, but don't know the exact reason of this and where to start to dig. So does anyone know how to fix it ?