diff options
author | Jason Wray <jason@mapbox.com> | 2016-05-04 13:02:02 -0400 |
---|---|---|
committer | Jason Wray <jason@mapbox.com> | 2016-07-26 18:28:02 -0700 |
commit | a7fb41763da91eec0c417d0141ddcc4a3ccde488 (patch) | |
tree | 3a7031eac0e3571bf40c45b5be35c9172d412a7d | |
parent | ffc2ffbf84dd78ea57c8082a7679c460358d5870 (diff) | |
download | qtlocation-mapboxgl-a7fb41763da91eec0c417d0141ddcc4a3ccde488.tar.gz |
Fix occasional gap between callout body and tip
-rw-r--r-- | platform/ios/src/MGLCompactCalloutView.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/ios/src/MGLCompactCalloutView.m b/platform/ios/src/MGLCompactCalloutView.m index cf99e7e219..b0769ea088 100644 --- a/platform/ios/src/MGLCompactCalloutView.m +++ b/platform/ios/src/MGLCompactCalloutView.m @@ -146,7 +146,7 @@ static CGFloat const tipWidth = 20.0; CGFloat tipLeft = rect.origin.x + (rect.size.width / 2.0) - (tipWidth / 2.0); CGPoint tipBottom = CGPointMake(rect.origin.x + (rect.size.width / 2.0), rect.origin.y + rect.size.height); - CGFloat heightWithoutTip = rect.size.height - tipHeight; + CGFloat heightWithoutTip = rect.size.height - tipHeight - 1; CGContextRef currentContext = UIGraphicsGetCurrentContext(); |