Files
swiftcontrol/lib/services/overlay
jonasbark 9d035c7258 fix(overlay): Windows overlay opens with the saved opacity and position (#455)
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>
2026-11-08 12:57:53 +01:00
..