Skip to content

Conversation

@songzuyun
Copy link

No description provided.

@little-snow-fox
Copy link
Owner

little-snow-fox commented Nov 30, 2020

你好,我比较担忧这行代码会导致图片宽高比不同的情况下会出问题,看起来你是修复了高度比宽度大的图片出现的bug,但这样修复,我担忧宽度比高度大的图片会出问题。
或者,是不是应该加一个 if 语句?根据不同比率执行不同代码行?

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.

2 participants