forked from organicmaps/organicmaps
[compilation] [ios] Fixed build.
This commit is contained in:
parent
9864411e99
commit
4b326ab662
1 changed files with 2 additions and 1 deletions
|
@ -144,7 +144,8 @@ CGFloat angleWithProgress(CGFloat progress) { return 2.0 * M_PI * progress - M_P
|
|||
progress < 1.0 ? MWMCircularProgressStateProgress : MWMCircularProgressStateCompleted;
|
||||
[self stopSpinner];
|
||||
}
|
||||
CGPoint const center = {self.width / 2.0, self.height / 2.0};
|
||||
CGPoint const center = {static_cast<CGFloat>(self.width / 2.0),
|
||||
static_cast<CGFloat>(self.height / 2.0)};
|
||||
CGFloat const radius = MIN(center.x, center.y) - kLineWidth;
|
||||
UIBezierPath * path = [UIBezierPath bezierPathWithArcCenter:center
|
||||
radius:radius
|
||||
|
|
Loading…
Add table
Reference in a new issue