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

feat: add scale animated value & return last values in onResetAnimationEnd callback #59

Merged
merged 2 commits into from
Aug 25, 2024

Conversation

likashefqet
Copy link
Owner

What's new

  • Support for Scale Animated Value: Added the ability to provide a Reanimated shared value for the scale property, allowing you to access and utilize the current zoom scale in your own code.

  • Return Last Values on Reset: Updated the onResetAnimationEnd callback, which now returns the last zoom and position values when the component resets (zooms out), providing more control and feedback for custom logic.

  • Updated Examples: Revised the existing examples to include usage of the scale animated value, ensuring that you can easily integrate this feature into your projects.

@likashefqet likashefqet self-assigned this Aug 25, 2024
@likashefqet likashefqet merged commit 104d6e9 into main Aug 25, 2024
5 of 6 checks passed
@likashefqet likashefqet deleted the release/4.1.0 branch August 25, 2024 20:56
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