GPU-accelerated UI toolkit (Vulkan)
git clone https://git.lucas.co/cce-ui.git
chore: drop leftover bulge_h local in paint_band
band_height_at derives it itself; the local was shadowing dead code
from before the profile extraction.
Co-Authored-By: Claude Fable 5 <[email protected]>
src/widget/input/slider.rs | 1 -
1 file changed, 1 deletion(-)
diff --git a/src/widget/input/slider.rs b/src/widget/input/slider.rs
index 701c5ef..8fb2250 100644
--- a/src/widget/input/slider.rs
+++ b/src/widget/input/slider.rs
@@ -239,7 +239,6 @@ impl Slider {
/// so legacy plain-quad hosts (`ParametersBg::extra_quads`) carry it verbatim.
fn paint_band(&self, g: &SliderGeom, ctx: &mut PaintCtx) {
let band_t = crate::layout::slider_band_thickness().max(0.5);
- let bulge_h = crate::layout::slider_bulge_height().clamp(band_t, g.h);
let bulge_w = crate::layout::slider_bulge_width().max(2.0);
let color = if self.dragging { colors::slider_thumb_drag() } else { colors::slider_thumb() };
let cy = g.y + g.h * 0.5;