Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Use CGFloat instead of int for calculating stack height of bar views.

  • Loading branch information...
commit 4dc86560a6b311c9fd490d51e52d54ee33fe8d21 1 parent 882beee
Ole Zorn authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  Classes/GraphView.m
View
2  Classes/GraphView.m
@@ -498,7 +498,7 @@ - (void)setSegmentValues:(NSArray *)values label:(NSString *)labelText
- (CGFloat)stackHeight
{
- int stackHeight = 0;
+ CGFloat stackHeight = 0.0;
for (UIView *segmentView in segmentViews) {
stackHeight += segmentView.frame.size.height;
}
Please sign in to comment.
Something went wrong with that request. Please try again.