The previous fix only updated the initial mount path. buildLegend gets re-created on every layer switch via the swap at renderLayer, and that code path still used the old isMobile-dependent bottomright position, which clobbered the top-right placement as soon as the user clicked a different layer. |
||
|---|---|---|
| .. | ||
| css | ||
| js | ||
| vendor | ||
| tsconfig.json | ||