File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -54,12 +54,12 @@ - (void)drawRect:(CGRect)rect
5454 }
5555
5656 if (self.selected ) {
57- float r, g, b, a;
57+ CGFloat r, g, b, a;
5858 [fillColor getRed: &r green: &g blue: &b alpha: &a];
5959 }
6060
6161 if (!checkbox.enabled ) {
62- float r, g, b, a;
62+ CGFloat r, g, b, a;
6363 [fillColor getRed: &r green: &g blue: &b alpha: &a];
6464 fillColor = [UIColor colorWithRed: (r + .2 ) green: (g + .2 ) blue: (b + .2 ) alpha: a];
6565 [checkbox.strokeColor getRed: &r green: &g blue: &b alpha: &a];
@@ -81,7 +81,7 @@ - (void)drawRect:(CGRect)rect
8181 [boxPath stroke ];
8282 } else {
8383 // Create colors based off of tint color
84- float r, g, b, a;
84+ CGFloat r, g, b, a;
8585 [fillColor getRed: &r green: &g blue: &b alpha: &a];
8686 UIColor *topColor = [UIColor colorWithRed: (r + 0.20 ) green: (g + 0.20 ) blue: (b + 0.20 ) alpha: a];
8787 UIColor *bottomColor = [UIColor colorWithRed: (r + 0.15 ) green: (g + 0.15 ) blue: (b + 0.15 ) alpha: a];
You can’t perform that action at this time.
0 commit comments