Skip to content

Conversation

@Philipp-M
Copy link

I had quite a few panics, mostly when accessing something like name (IconName or WindowName). I don't think it's a good practice to just panic there, as it kind of seems to be allowed that parameters are sometimes optional.
I'm not sure which parameter is really optional, so also to not change the API I'll just use default values, it almost always still makes sense (empty name, or width/height == 0).

Also applied a few clippy lints on the way...

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