Skip to content

Change tint color on index changing #38

@spromicky

Description

@spromicky

@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 #21 (comment)

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions