system settings
git clone https://git.lucas.co/cce-system-interface.git
Fix out of bounds panic on startup by initializing window_color selector in InterfaceState default
src/pages/interface.rs | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/pages/interface.rs b/src/pages/interface.rs
index df0c336..d63d10d 100644
--- a/src/pages/interface.rs
+++ b/src/pages/interface.rs
@@ -186,6 +186,7 @@ impl Default for InterfaceState {
ColorSelector::new([81, 81, 97]).with_label("Background"), // 15: Breadcrumb - Background
ColorSelector::new([81, 81, 97]).with_label("Background"), // 16: Popover - Background
ColorSelector::new([0x08, 0x08, 0x0c]).with_label("Background"), // 17: Notification - Background
+ ColorSelector::new([0x0a, 0x1a, 0x0e]).with_label("Color"), // 18: Surfaces - Window Color
],
paginator_tab_margin_x: 5,
paginator_tab_margin_y: 10,