Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

修正 "横着拿iPad 玩竖屏微信小游戏" 时, safeArea错误的问题. #224

Merged
merged 1 commit into from Mar 1, 2021

Commits on Feb 9, 2021

  1. 修正 "横着拿iPad 玩竖屏微信小游戏" 时, safeArea错误的问题.

    其他 小游戏平台,  以及其他 pad 没有测试 和 修改. 请 cocos官方去验证核实一下吧.
    
    主要原因是.  微信小游戏上 不能用  windowWidth/windowHeight 来判断是不是landscape , 要用 screenWidth/screenHeight .
    finscn committed Feb 9, 2021
    Configuration menu
    Copy the full SHA
    fb0a925 View commit details
    Browse the repository at this point in the history