-
Notifications
You must be signed in to change notification settings - Fork 567
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
associate timers with widget ids #494
Comments
I would like to take this up if it's ok. |
@sjoshid definitely! |
@cmyr Is the task here to bypass all the traversing so the root widget can directly send the event to the target widget? |
sort of! we don't send things "directly"; we still need to traverse the tree, but skip looking at parts of the tree that don't contain the relevant widget. You should be able to get a sense for this by looking at how the 'focus changed' lifecycle event works. |
@cmyr
Am I missing something obvious? |
sounds about right. All the logic should be in |
currently we route timers to all widgets that have ever requested a timer; we can now store the id of the requesting widget along with the timer, and route things that way.
If someone is interested in taking this, it shouldn't be too tricky, and it will be a nice excuse to explore some of druid's internals.
The text was updated successfully, but these errors were encountered: