buh / CompactSlider

CompactSlider is a SwiftUI control for macOS, iOS and watchOS.
MIT License
420 stars 27 forks source link

Relative slider - like iOS 17 sliders #11

Open quantamrhino opened 8 months ago

quantamrhino commented 8 months ago

Describe the bug Really, not a bug but a feature request - Currently the slider goes to the x location of the touch, as opposed to use the translation.width to move the current value by a relative amount. This feature will allow for more precise changes to the slider, that'll feel consistent with the current iOS 17 slider design.

something like this- https://github.com/pratikg29/Custom-Slider-Control, but with all the goodness and features of Compact Slider.