We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
并非是cocos未全局注入devicePixelRatio,而是在主包和开发者工具上都会返回devicePixelRatio,而是独立分包在真机上没有。 更严谨的写法是在getSystemInfoSync中加一个devicePixelRatio,而非添加一个全局的devicePixelRatio。
The text was updated successfully, but these errors were encountered:
感谢建议
Sorry, something went wrong.
No branches or pull requests
并非是cocos未全局注入devicePixelRatio,而是在主包和开发者工具上都会返回devicePixelRatio,而是独立分包在真机上没有。
更严谨的写法是在getSystemInfoSync中加一个devicePixelRatio,而非添加一个全局的devicePixelRatio。
The text was updated successfully, but these errors were encountered: