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

replace explicit function type with layout.widget #411

Closed
oshorefueled opened this issue May 14, 2021 · 0 comments · Fixed by #417
Closed

replace explicit function type with layout.widget #411

oshorefueled opened this issue May 14, 2021 · 0 comments · Fixed by #417
Assignees
Labels
enhancement New feature or request

Comments

@oshorefueled
Copy link
Contributor

oshorefueled commented May 14, 2021

Running

$ grep "func.*func\(gtx C\) D"
$ grep "var.*func\(gtx C\) D"

reveals multiple uses of func(gtx C) D as an explicit type. These should be replaced with the clearer layout.Widget type.

referencing Elias' review: https://paste.sr.ht/~eliasnaur/cea1d29d6a5f96668b5e166c2f39ef596974574f

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants