gizmosachin / ColorSlider

🎨 Snapchat-style color picker in Swift
MIT License
288 stars 53 forks source link

When sliding away from the slider the color brightness does not change correctly #31

Open antonsarg opened 5 years ago

antonsarg commented 5 years ago

I have noticed that when you are sliding away from the slider the brightness seems to glitch and is most of the time not the correct darker color where I started sliding from.

gizmosachin commented 5 years ago

Hi @antonsrg, this is the expected behavior. When dragging outside the frame of the slider, the brightness of the selected color will decrease as the touch moves away from the slider. This mimics the behavior of the color picker in Snapchat.

antonsarg commented 5 years ago

I know of this feature in Snapchat too, but that's not what I was talking about. I mean that the colors really seem to glitch while dragging outside of the frame. I would like to send you a video but it's not possible here.

gizmosachin commented 5 years ago

Got it, thanks. Would it be possible for you to upload a video of this behavior to an external service and share a link here?

antonsarg commented 5 years ago

Sure, here you are. I hope the link works.

https://www.dropbox.com/s/uvsvh1lqqj9hujn/colorslider.MOV?dl=0