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 open data context resolution views display incorrectly #3718

merged 3 commits into from Jan 8, 2019


None yet
3 participants
Copy link

commented Jan 7, 2019

Re: cocos-creator/2d-tasks#859


  • 添加开放数据的新 api 让用户在切换不同分辨率的时候能自行重置

@knoxHuang knoxHuang requested a review from pandamicro Jan 7, 2019

@@ -97,6 +95,22 @@ else {

* !#en Reset data in sub context
* !#zh 重置开放数据域的数据

This comment has been minimized.

Copy link

pandamicro Jan 7, 2019


Reset open data context size and viewport

knoxHuang added some commits Jan 7, 2019

@knoxHuang knoxHuang self-assigned this Jan 8, 2019

@pandamicro pandamicro merged commit 793337f into cocos-creator:v2.0-release Jan 8, 2019

1 check passed

ci/circleci: test Your tests passed on CircleCI!

This comment has been minimized.

Copy link

commented Feb 10, 2019

在 cc.WXSubContextView 组件上增加了 reset 方法,让用户在切换子域视图的时候能通过调用这个 API 正确重置视图大小。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.