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

Apply Scroll to widgets immediately when received, rather than during Ui::set_widgets #709

Closed
mitchmindtree opened this issue Apr 9, 2016 · 1 comment

Comments

@mitchmindtree
Copy link
Contributor

This will probably make reasoning about scrolling a lot easier. This will also make it much easier to handle #602.

UiEvent::Scroll would still be delivered to widgets, but would represent the amount the widget was scrolled, rather than an amount of scroll that is required to be handled. Widgets can still opt-in to scrolling regularly by overriding the default Widget::scroll_kids method.

@mitchmindtree
Copy link
Contributor Author

Closing in favour of #711.

@mitchmindtree mitchmindtree removed this from the 1.0.0 milestone Apr 17, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant