paintPicker called pop.classList.toggle("photo", B.meta(bg.bg).photo).
A pattern's photo was undefined, not false, and toggle(name, undefined)
flips the class. So each input event of the margin or blur slider hid
or showed the blur and dim sliders in turn. The reporter saw both
states with the teal backdrop picked.
Every backdrop's photo is now a boolean, and the toggle asks for
=== true.
Run, on mote:
- bun test packages/day-card: 15 pass. bun scripts/check.mjs: exit 0.
- A Playwright repro (not committed) loads the page with a stub bridge,
picks teal, fires input on the margin slider four times, then picks
alpine and drags blur, then goes back to teal. In Chromium and WebKit
the old page shows blur as false,true,false,true,false. The new page
keeps it hidden on teal and shown on alpine on every tick.
Broken by hand: with backgrounds.js from main, the new test goes red
(1 of 15).
Not tried: in magpie's own window on Windows, where the reporter is.
Reported-by: lbjxr