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

Version 5.0.0 #257

Merged
merged 17 commits into from
Nov 29, 2024
Merged

Version 5.0.0 #257

merged 17 commits into from
Nov 29, 2024

Conversation

ruslanskorb
Copy link
Owner

@ruslanskorb ruslanskorb commented Nov 26, 2024

  • Fix image position after double tap (in the case when avoidEmptySpaceAroundImage is set to NO and image does not fill entire mask area)
  • When setting image of RSKImageScrollView, update imageSize only if its current value is equal to the default CGSizeZero value
  • Increase the size of the visible area around the location being zoomed to using the [RSKImageScrollView zoomToLocation:animated:] method
  • Zoom to the location of the double tap if the current zoom scale is equal to the default one
  • Rename some properties of RSKImageScrollView:
    • imageBackgroundColor => imageViewBackgroundColor
    • imageCoordinateSpace => imageViewCoordinateSpace
    • imageFrame => imageViewFrame
  • Remove deprecated zoomView property and displayImage: method of RSKImageScrollView

…only if the size of the new image is different from the size of the old one.

This will allow us to avoid resetting the current state of the scroll view when updating the image when it is not needed.
…geViewBackgroundColor`, `imageCoordinateSpace` => `imageViewCoordinateSpace`, `imageFrame` => `imageViewFrame`, `imageSize` => `imageViewBoundsSize`.
@ruslanskorb ruslanskorb self-assigned this Nov 26, 2024
…rease the size of the visible area around the location.
…m to the location of the double tap if the current zoom scale is equal to the default one.
…@param] `image view controller` => `image crop view controller`.
…`CGRectZero`' => 'Default value is `CGSizeZero`'.
… only if its current value is equal to the default `CGSizeZero` value.
@ruslanskorb ruslanskorb merged commit f6fb28b into master Nov 29, 2024
1 check passed
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.

1 participant