mirror of
https://github.com/jonasbark/swiftcontrol.git
synced 2026-12-04 20:52:23 +01:00
The Windows runner builds the sub-window's entrypoint args by walking the createWindow argument map, which is sorted by key, so the JSON payload is args[0]. The overlay searched for it starting at index 1, so on Windows the saved opacity and position were never applied: the overlay opened fully opaque until the slider was touched, and at the default position. Decode the payload in decodeOverlayLaunchArgs, which scans every argument, and cover both platform orderings in a test. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>