You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The control takes this value, and when you read it back it returns 50, however the visual slider in the UI remains at 0. When you start to move it, the control resets its value to 0 and starts incrementing from there. Would be great if this could display the correct initial value.
The text was updated successfully, but these errors were encountered:
This looks to be a race condition if I place a delay on setting the .value then the UI is updated....
DispatchQueue.main.asyncAfter(deadline: .now() + 0.1) {
self.slider.value = red
}
Also interesting to note, is if you focus the control and then click Left or Right, the control updates to the correct value +/- the step. However if you use the Pan Gesture in this state the value starts at 0.
This control works reasonably well, thank you for the time you put in to it. When using this control I want to set an initial value which I do with:
The control takes this value, and when you read it back it returns 50, however the visual slider in the UI remains at 0. When you start to move it, the control resets its value to 0 and starts incrementing from there. Would be great if this could display the correct initial value.
The text was updated successfully, but these errors were encountered: