gizmosachin / ColorSlider

🎨 Snapchat-style color picker in Swift

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

use centerPreview

Mohsenkhodadadzadeh opened this issue · comments

hey
I want to move the slider value to a new position programmatically , I found a method name is centerPreview(at:) , but it defines as an internal func , could you tell me how can I do ?

Hi! You can manually set the color via public API (see #27), which will use the internal method centerPreview.