git.lucas.co / cce-ui
GPU-accelerated UI toolkit (Vulkan)
git clone https://git.lucas.co/cce-ui.git

commitec4ebcb9c8425c3194416d88675e3a0ebab509b4
parent14e3d5e721
authorLucas Galante <[email protected]>
date2026-06-19 03:11
Use read_opacity_if_configured for sidebar_bg_color

 src/color.rs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/color.rs b/src/color.rs
index 8efa6f1..8e11b21 100644
--- a/src/color.rs
+++ b/src/color.rs
@@ -323,7 +323,7 @@ pub fn to_srgb(color: [f32; 4]) -> [f32; 4] {
 pub fn sidebar_bg_color() -> [f32; 4] {
     load_colors_once();
     let mut color = *SIDEBAR_BG_COLOR.read().unwrap();
-    if let Some(opacity) = read_window_opacity_if_configured() {
+    if let Some(opacity) = read_opacity_if_configured() {
         color[3] = opacity;
     }
     color