From 587d8fe65d61b8f7217b4e8850b44e43159c16fb Mon Sep 17 00:00:00 2001
From: Ruben Beltran del Rio <ruben@unlimited.pizza>
Date: Sun, 21 Jan 2024 14:48:35 +0100
Subject: Save WIP

---
 src/lib/components/minimap_sector.svelte | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)
 create mode 100644 src/lib/components/minimap_sector.svelte

(limited to 'src/lib/components/minimap_sector.svelte')

diff --git a/src/lib/components/minimap_sector.svelte b/src/lib/components/minimap_sector.svelte
new file mode 100644
index 0000000..2e14043
--- /dev/null
+++ b/src/lib/components/minimap_sector.svelte
@@ -0,0 +1,22 @@
+<script>
+	export let x;
+	export let y;
+	export let size;
+	export let isActive;
+
+	import { countElements } from '$lib/stores/widgets';
+</script>
+
+<td class={isActive ? 'active' : ''} />
+
+<style>
+	td {
+		width: 4px;
+		height: 4px;
+		border: 1px solid black;
+	}
+
+	td.active {
+		border: 2px solid cyan;
+	}
+</style>
-- 
cgit 

