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(build): Extract zoom animation in as pluggable feature #41

Merged
merged 1 commit into from
Mar 18, 2022

Conversation

bric3
Copy link
Owner

@bric3 bric3 commented Mar 18, 2022

Creates an additional module with the animation code.

Comment on lines +228 to +230
public interface ZoomAction {
<T> boolean zoom(JViewport viewPort, final FlameGraphCanvas<T> canvas, ZoomTarget zoomTarget);
}
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not a fan of adding a new type, but I couldn't think of something else.

Copy link
Collaborator

@jfree jfree left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good solution!

@bric3
Copy link
Owner Author

bric3 commented Mar 18, 2022

Let's do this then, and we can adapt

@bric3 bric3 merged commit 5474f3a into master Mar 18, 2022
@bric3 bric3 deleted the extract-animation branch March 18, 2022 13: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.

2 participants