From 87eaf90c1285f5658b25a900663e237acaf4aa5b Mon Sep 17 00:00:00 2001 From: E44 <129310925+programmer-44@users.noreply.github.com> Date: Sun, 14 Jun 2026 20:25:45 +0200 Subject: [PATCH] fix(control): use correct colors and include edge cases in select all displays button --- control/frontend/src/routes/DisplayView.svelte | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/control/frontend/src/routes/DisplayView.svelte b/control/frontend/src/routes/DisplayView.svelte index d37356c..3fdfba8 100755 --- a/control/frontend/src/routes/DisplayView.svelte +++ b/control/frontend/src/routes/DisplayView.svelte @@ -13,6 +13,7 @@ change_height, current_height, dnd_flip_duration_ms, + get_selectable_color_classes, is_display_drag, is_group_drag, next_height_step_size, @@ -57,7 +58,7 @@ $effect(() => { const d = $display_groups; const sdi = $selected_display_ids; - all_groups_selected = liveQuery(() => all_selected(d || [], sdi)); + all_groups_selected = liveQuery(() => d.length !== 0 && all_selected(d || [], sdi)); }); let last_pinned_pane_size: number = 45; @@ -217,11 +218,22 @@
+ +