From 80dbae8b69f303ead1df6f2166ca35eefd839bb2 Mon Sep 17 00:00:00 2001 From: giswqs Date: Sat, 15 Aug 2026 15:16:21 -0400 Subject: [PATCH 1/2] feat(layers): add Style panel button to layer cards Opening a layer's styling controls previously meant finding the entry inside the layer's overflow menu. A palette button on the card itself selects the layer and opens the Style panel in one click, and the action row now wraps so the extra button does not overflow on narrow panels. --- .../src/components/panels/LayerPanel.tsx | 18 +++++++++++++++++- docs/user-guide/layers.md | 1 + e2e/layer-panel.spec.ts | 17 +++++++++++++++++ 3 files changed, 35 insertions(+), 1 deletion(-) diff --git a/apps/geolibre-desktop/src/components/panels/LayerPanel.tsx b/apps/geolibre-desktop/src/components/panels/LayerPanel.tsx index 4e25c1f9a6..c724bc1771 100644 --- a/apps/geolibre-desktop/src/components/panels/LayerPanel.tsx +++ b/apps/geolibre-desktop/src/components/panels/LayerPanel.tsx @@ -3389,7 +3389,7 @@ export function LayerPanel({ onChange={(v) => setLayerOpacity(layer.id, v)} /> )} -
+
+ {onOpenStylePanel && ( + + )}