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

Feat: resize if viewport changed #47

Merged
merged 3 commits into from Mar 16, 2021
Merged

Conversation

wssgcg1213
Copy link
Member

  1. 支持 viewportWidth/viewportHeight 的修改, 并重新计算样式和 Layout

自测通过

image
image


viewport size 的值仅保存在 ViewController 一处, 避免 copy, 通过 getter 方便取值

@wssgcg1213 wssgcg1213 changed the title Feat/resize if viewport changed Feat: resize if viewport changed Mar 15, 2021
.gitignore Outdated Show resolved Hide resolved
Copy link
Contributor

@temper357 temper357 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Contributor

@temper357 temper357 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants