StepSlider icon indicating copy to clipboard operation
StepSlider copied to clipboard

Change tint color on index changing

Open spromicky opened this issue 6 years ago • 1 comments

@spromicky steps to reproduce:

  1. setup a step slider with 5 steps (1, 2, 3, 4, 5)
  2. set the slider to update tint color on UIControlEvent.valueChange based on returned index value
  3. run the app
  4. select index 5, as the change is animating, attempt to drag the circle to a new index
  5. crash observed

Example GIF: stepslidercrash

EDIT: This issue is related to the animation, when i force this to be false (line: 266 of StepSlider.m) the application does not observe this crash

My crashes mainly occur due to a isEqual dead instance EXEC_BAD_INSTRUCTION when the plugin performs its CGColorRef comparisons

Originally posted by @davcpas1234 in https://github.com/spromicky/StepSlider/issues/21#issuecomment-486695828

spromicky avatar Sep 19 '19 15:09 spromicky

Will be great to support some kind of heat indicator like in gif.

spromicky avatar Sep 19 '19 15:09 spromicky