Skip to content

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.

2 participants