Simon Hausmann
Simon Hausmann
> Can we have a switch in the gallery? Good idea - done :)
> > Another option would be to have an enum instead of a boolean, like `enum ColorScheme { Dark, Light, Unknown }`, but that's a little weird for the setter....
Fair point :-)
Alright, so there's an enum now. Initially `Palette.color-scheme` is bound to `SlintInternal.color-scheme`, so it'll return whatever we detect in the system. Setting `Palette.color-scheme` to `ColorScheme.unknown` now makes the styles fall...
I'm sorry. Could you elaborate a little on your environment and choice of input methods?
I can reproduce this. It works with the Qt backend, but not with the winit backend.
This happened before as #534
Fixed by #4723 🥳
Thanks for the PR :). Could you explain to us what the use-case is for this?
Ahhh, now I see. Thank you! Perhaps we've made a mistake in our API design here, and we should have `from` and `to` instead of `minimum` and `maximum`. We could...