This repository was archived by the owner on Sep 11, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 812
Dynamic max and min zoom in the new ImageView #5916
Merged
Merged
Changes from all commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
dad7a22
Initial code for dynamic minZoom
SimonBrandner 4523b8c
Add dynamic maxZoom and wire it all up
SimonBrandner f8af983
Don't use percanteages
SimonBrandner 57b34f8
Get rid of onWindowResize()
SimonBrandner e0e9ccb
Remove logline
SimonBrandner dcc060f
Use correct cursor when we can't zoom
SimonBrandner 1a906c9
Merge branch 'develop' into image-view-zoom
SimonBrandner 9b7a9fc
Use MAX_SCALE for maxZoom
SimonBrandner bcc6e5c
Add some comments
SimonBrandner 90f2423
Fix zoom step and coeficient
SimonBrandner 0e31297
Rework zooming
SimonBrandner c1a4204
Use a ref instead of that ugly thing
SimonBrandner 33107a1
Fall back to natural height and width
SimonBrandner b741b31
If the image is small don't scale
SimonBrandner dbca370
Try to precalculate the zoom from width and height props
SimonBrandner e374fcf
Fix spelling
SimonBrandner 3547d1f
Change cursor to default
SimonBrandner 53e8b5e
Merge branch 'image-view-zoom' of https://github.com/SimonBrandner/ma…
SimonBrandner 1fcad1a
Show zoom buttons only if zooming is enabled
SimonBrandner 38566a3
i18n
SimonBrandner File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.