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