From 5f1b1a5908bcf50f661122f9e2368711e8f4b259 Mon Sep 17 00:00:00 2001 From: Anton Tranelis Date: Sat, 11 Oct 2025 12:03:04 +0200 Subject: [PATCH] optimized layer control elements --- lib/src/Components/AppShell/SideBar.tsx | 12 ++++++-- .../Map/Subcomponents/AddButton.tsx | 30 ++++++++++++------- .../Subcomponents/Controls/LayerControl.tsx | 3 +- 3 files changed, 30 insertions(+), 15 deletions(-) diff --git a/lib/src/Components/AppShell/SideBar.tsx b/lib/src/Components/AppShell/SideBar.tsx index 645d9344..8bb637a6 100644 --- a/lib/src/Components/AppShell/SideBar.tsx +++ b/lib/src/Components/AppShell/SideBar.tsx @@ -10,6 +10,7 @@ export interface Route { name: string submenu?: Route[] blank?: boolean + color?: string } /** @@ -35,7 +36,7 @@ export function SideBar({ routes, bottomRoutes }: { routes: Route[]; bottomRoute