Fixed #8 - Linking Slider & CamelLabels doesn't update labels right away

This commit is contained in:
arquebuse 2015-03-04 17:19:21 -08:00
parent 5008782651
commit 3f28058915
1 changed files with 5 additions and 0 deletions

View File

@ -99,6 +99,11 @@ static CGSize iosThumbShadowOffset = (CGSize){0, 3};
[self layoutTrack];
}
- (void)setTicksListener:(NSObject<TGPControlsTicksProtocol> *)ticksListener {
_ticksListener = ticksListener;
[self.ticksListener tgpTicksDistanceChanged:self.ticksDistance sender:self];
}
- (void)setIncrementValue:(int)incrementValue {
_incrementValue = incrementValue;
if(0 == incrementValue) {