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

Add limitation of image's max zoom rate (max to the original size of image) #15094

Merged
merged 3 commits into from
Nov 4, 2020

Conversation

mashirozx
Copy link
Contributor

Fixed #15093

@mashirozx mashirozx changed the title Add limitation of image's max zoom rate (max to the original size of image) [WIP] Add limitation of image's max zoom rate (max to the original size of image) Nov 4, 2020
@mashirozx mashirozx changed the title [WIP] Add limitation of image's max zoom rate (max to the original size of image) Add limitation of image's max zoom rate (max to the original size of image) Nov 4, 2020
@mashirozx
Copy link
Contributor Author

Ready for review 😁

@Gargron Gargron merged commit f720af6 into mastodon:master Nov 4, 2020
umonaca pushed a commit to umonaca/mastodon that referenced this pull request Nov 8, 2020
…image) (mastodon#15094)

* limit image max scale rate to fit the actual image size

* replace with MIN_SCALE

* fix behavior on touch screen
@mashirozx mashirozx deleted the pr-branch-limit-image-max-zoom branch November 9, 2020 16:14
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.

Pictures zooming in too enormously
3 participants