summaryrefslogtreecommitdiff
path: root/platform/ios/src/MGLScaleBar.mm
diff options
context:
space:
mode:
authorJesse Bounds <jesse@rebounds.net>2017-10-24 17:40:47 -0700
committerJesse Bounds <jesse@rebounds.net>2017-10-25 14:31:55 -0700
commit91eb595463cf42c85edc7fe5b47023f8d7b75828 (patch)
tree508e67129755acfcfce5fcffbe534a18b3ffbff2 /platform/ios/src/MGLScaleBar.mm
parentc9d7951e0d0ab85614ab296573e583ed44dbe7c0 (diff)
downloadqtlocation-mapboxgl-91eb595463cf42c85edc7fe5b47023f8d7b75828.tar.gz
[ios] Move scale bar content size invalidation to map view
Diffstat (limited to 'platform/ios/src/MGLScaleBar.mm')
-rw-r--r--platform/ios/src/MGLScaleBar.mm3
1 files changed, 0 insertions, 3 deletions
diff --git a/platform/ios/src/MGLScaleBar.mm b/platform/ios/src/MGLScaleBar.mm
index 1cf1caf0fe..139dffdfab 100644
--- a/platform/ios/src/MGLScaleBar.mm
+++ b/platform/ios/src/MGLScaleBar.mm
@@ -230,9 +230,6 @@ static const CGFloat MGLFeetPerMeter = 3.28084;
CGRectGetMinY(self.frame),
size.width,
size.height);
-
- [self invalidateIntrinsicContentSize];
- [self setNeedsLayout];
}
- (void)updateVisibility {