Fixes #14, setValue

This commit is contained in:
Xavier Schott 2015-12-05 23:10:50 -08:00
parent aa22d397a4
commit 202926dc5b
1 changed files with 1 additions and 1 deletions

View File

@ -159,7 +159,6 @@ static CGSize iosThumbShadowOffset = (CGSize){0, 3};
{
[super setBounds:bounds];
[self layoutTrack];
[self setNeedsDisplay];
}
#pragma mark UIControl
@ -452,6 +451,7 @@ static CGSize iosThumbShadowOffset = (CGSize){0, 3};
// If we have a TGPDiscreteSliderTicksListener (such as TGPCamelLabels), broadcast new spacing
[self.ticksListener tgpTicksDistanceChanged:self.ticksDistance sender:self];
[self setNeedsDisplay];
}
- (void)layoutThumb {