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

fix wrong webview matrix #5106

Merged
merged 1 commit into from Aug 7, 2019
Merged

fix wrong webview matrix #5106

merged 1 commit into from Aug 7, 2019

Conversation

@PPpro
Copy link
Contributor

@PPpro PPpro commented Aug 6, 2019

修复 webview 的 matrix update 出错的问题
需要在 camera 更新完 position 之后,才能正确取得 view matrix

@2youyou2
Copy link
Contributor

@2youyou2 2youyou2 commented Aug 6, 2019

有点 hack ,可以考虑在 camera onload 里面手动调一次计算,保证启动时是计算过的

@PPpro PPpro force-pushed the 2.1.3_webview branch from 9229c76 to 313765a Aug 7, 2019
@2youyou2 2youyou2 merged commit a7763a5 into cocos-creator:v2.1.3 Aug 7, 2019
1 check passed
@PPpro PPpro deleted the 2.1.3_webview branch Aug 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants