Uses iced `events_with()` to only subscribe to window resize events. The window width is stored in a static AtomicU32 so that the subscription can compare to an old window width as to only send messages when the width crosses the break point. fix up |
||
|---|---|---|
| .. | ||
| cosmic | ||
| cosmic-sctk | ||