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

优化缩放尺寸计算方式 #1

Closed
leadream opened this issue Dec 18, 2019 · 0 comments
Closed

优化缩放尺寸计算方式 #1

leadream opened this issue Dec 18, 2019 · 0 comments

Comments

@leadream
Copy link
Owner

目前画布尺寸是根据容器宽高决定的(四倍容器宽高),导致 100% 比例时图片并非完全 100% 大小,需要优化计算方式。

  • 初始尺寸:根据图片宽高决定
  • 缩放比列:最小保证完全可见,最大四倍。
@leadream leadream created this issue from a note in Figma Handoff (To do) Dec 18, 2019
Figma Handoff automation moved this from To do to Done Feb 14, 2020
@fansanqiu fansanqiu moved this from Done to In progress in Figma Handoff May 24, 2021
@fansanqiu fansanqiu moved this from In progress to Done in Figma Handoff May 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Figma Handoff
  
Done
Development

No branches or pull requests

1 participant