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

ViewSwitcher: fix behavior, don't use observe #2229

Merged
merged 1 commit into from
Jul 2, 2023

Conversation

danirabbit
Copy link
Member

  • Use group so that we get radio behavior
  • Granite style class constant
  • Docs advise against using observe_children when possible because it's expensive

@danirabbit danirabbit requested a review from jeremypw June 30, 2023 18:20
Comment on lines 91 to +92
}
child = child.get_next_sibling ();
Copy link
Member Author

Choose a reason for hiding this comment

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

Should we return early here if we activate a child?

@jeremypw jeremypw merged commit 916af09 into make-compile Jul 2, 2023
@jeremypw jeremypw deleted the danirabbit/viewswitcher-noobserve branch July 2, 2023 09:27
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