diff options
| author | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2026-11-18 21:47:56 +0100 |
|---|---|---|
| committer | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2026-11-18 21:47:56 +0100 |
| commit | 73ad3eccad74754c1e74ff3025f4d4581f6178cb (patch) | |
| tree | 0f0d3887795c917c889a590e204eb13cb94216ed /crates/gipfel-desktop/icons/ios/AppIcon-40x40@2x.png | |
| parent | 08636f9a7aeb082b7ed6c5bb56eebdbcb224fa2a (diff) | |
web: sync projection dropdown via the selectedIndex property
The dropdown mirrored the projection state through the 'selected'
ATTRIBUTE on the options - but that only drives the DEFAULT
selection. Once the browser's selectedIndex property has been
established (first render, user interaction), patching the attribute
no longer moves the visible choice: loading a panorama with a gipfel
comment after a rectilinear one updated the model (peaks rendered
correctly) while the dropdown kept showing the old mode.
Attach a NodeRef to the <select> and set the selectedIndex property in
an effect on every projection state change. The option attributes stay
for the initial paint.
Diffstat (limited to 'crates/gipfel-desktop/icons/ios/AppIcon-40x40@2x.png')
0 files changed, 0 insertions, 0 deletions
