JetBrains / jewel

An implementation of the IntelliJ look and feels in Compose for Desktop
Apache License 2.0
636 stars 30 forks source link

Improve CircularProgressIndicator code #352

Closed rock3r closed 2 months ago

rock3r commented 2 months ago

We only use the launched effect to load the new frames, and instead use an infinitely repeating animation for the actual frame selection.

This is done so that UI tests don't hang on the infinite work done in the launched effect.

We also now allow providing a dispatcher on which we should load the frames, which defaults to Default, but can be overridden in tests with a TestDispatcher.