GPU-accelerated UI toolkit (Vulkan)
git clone https://git.lucas.co/cce-ui.git
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