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

onPanelCentered: should it be called right after initialization? #21

Open
yyphan opened this issue Mar 1, 2024 · 0 comments
Open

onPanelCentered: should it be called right after initialization? #21

yyphan opened this issue Mar 1, 2024 · 0 comments

Comments

@yyphan
Copy link

yyphan commented Mar 1, 2024

Thank you for creating this tool, it's very helpful and robust.

Just wondering this cos it seems natural to me that when the panels are first set up and one of the panel is centered, the onPanelCentered() callback would be fired. I don't think that is the case right now as both SelectedPanel and CenteredPanel are set to StartingPanel in Setup(), so in SnapToPanel() onPanelCentered() is not fired.

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

No branches or pull requests

1 participant