Skip to content

Slider miss place for the value #6

@fantasticatif

Description

@fantasticatif

On setting minValue something other than zero. Slider positioning get wrong.
On going through your code in -layoutSubviews method you are not calculating percentage correctly. I fixed it
with following change
CGFloat leftValuePercentage = (self.leftValue - self.minValue)/oneHundredPercent;
CGFloat rightValuePercentage = (self.rightValue - self.minValue)/oneHundredPercent;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions