From b10102eb717112577a3c403963fec0660e1bad97 Mon Sep 17 00:00:00 2001 From: Aji Anaz Date: Sun, 12 Jul 2026 22:19:47 +0700 Subject: [PATCH] feat: position toolbar on left side Move toolbar default position from right edge to left side (x: 24). Popup color palette opens to the right of toolbar, so left position keeps it visible without going off-screen. --- src/lib/Toolbar.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/Toolbar.svelte b/src/lib/Toolbar.svelte index 2910a56..fa62a65 100644 --- a/src/lib/Toolbar.svelte +++ b/src/lib/Toolbar.svelte @@ -37,7 +37,7 @@ const tbW = 52; // approx toolbar width const tbH = 380; // approx toolbar height position = { - x: Math.max(16, window.innerWidth - tbW - 24), + x: 24, y: Math.max(16, Math.round((window.innerHeight - tbH) / 2)) }; positioned = true;