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

commitad53ee78c6cedfa47bcae987f4967ed7858bd5c5
parent4453727552
authorLucas Galante <[email protected]>
date2026-07-05 13:51
fix: return the actual drawn track background color in Ramp::color

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

diff --git a/src/widget/input/ramp.rs b/src/widget/input/ramp.rs
index 7c87b31..346752f 100644
--- a/src/widget/input/ramp.rs
+++ b/src/widget/input/ramp.rs
@@ -711,7 +711,7 @@ impl Element for Ramp {
     }
     
     fn color(&self) -> [f32; 4] {
-        colors::ramp_background_color()
+        [0.15, 0.15, 0.18, 1.0]
     }
     
     fn preferred_height(&self) -> Option<f32> {