Refactor splash screen launch logic by Stefterv · Pull Request #1357 · processing/processing4
Simplifies the splash screen logic by removing coroutine delays and instead using a LaunchedEffect to trigger Base.main after the splash animation completes. The splash window now closes automatically when a new window is opened, improving startup flow and reliability.
This will make sure the splash screen fades in nicely and then start loading Processing, ideally those would happen at the same time, but Processing is forced to load on the UI thread, so for now this will fix the bug where the splash screen gets stuck at 50% opacity