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

Prefer taking EventState arg over returning Action #475

Merged
merged 12 commits into from
Feb 9, 2025
Merged

Prefer taking EventState arg over returning Action #475

merged 12 commits into from
Feb 9, 2025

Conversation

dhardy
Copy link
Collaborator

@dhardy dhardy commented Feb 7, 2025

This follows from #474.

Motivation: these methods are not expected to be called in a context where EventState isn't available, thus the extra flexibility of returning an Action is not useful. Further, this permits widgets to use their own Id when reporting a required action.

Also remove trait HasScrollBars and move enum ScrollBarMode to kas-widgets, revising this interface.

@dhardy dhardy merged commit cfa4e62 into master Feb 9, 2025
5 checks passed
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.

1 participant