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