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

commitb847638d8ce84cf863dac174fe3b923b625c6c0f
parent8880b91332
authorLucas Galante <[email protected]>
date2026-07-05 12:50
fix: change ControlPanel background to ramp_background_color to provide a solid dark backdrop for child controls

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

diff --git a/src/widget/container/control_panel.rs b/src/widget/container/control_panel.rs
index 16e3579..0e2a1f4 100644
--- a/src/widget/container/control_panel.rs
+++ b/src/widget/container/control_panel.rs
@@ -80,7 +80,7 @@ impl Element for ControlPanel {
     }
 
     fn color(&self) -> [f32; 4] {
-        colors::list_bg_color()
+        colors::ramp_background_color()
     }
 
     fn set_rect(&mut self, x: f32, y: f32, w: f32, h: f32) {