TomThorpe / TTRangeSlider

A slider, similar in style to UISlider, but which allows you to pick a minimum and maximum range.
MIT License
968 stars 204 forks source link

#107 Delete useless code #108

Closed biostome closed 3 years ago

biostome commented 4 years ago
- (CGPoint)getCentreOfRect:(CGRect)rect{}
to
- (CGPoint)getCenterOfRect:(CGRect)rect{}
    self.minLabel.frame = CGRectMake(0, 0, 75, TEXT_HEIGHT);
    self.minLabel.contentsScale = [UIScreen mainScreen].scale;
    self.minLabel.contentsScale = [UIScreen mainScreen].scale;
    if (self.minLabelColour == nil){

to 

    self.minLabel.frame = CGRectMake(0, 0, 75, TEXT_HEIGHT);
    self.minLabel.contentsScale = [UIScreen mainScreen].scale;
    if (self.minLabelColour == nil){
TomThorpe commented 3 years ago

Hey! Thanks for this, but "centre" is the British spelling, so it's just how I wrote it. I get your point, but I don't think it's really worth modifying.

Thanks anyway though :-)