diff options
author | Jesse Bounds <jesse@rebounds.net> | 2017-10-24 17:40:47 -0700 |
---|---|---|
committer | Jesse Bounds <jesse@rebounds.net> | 2017-10-25 13:10:59 -0700 |
commit | b19e7d75629bf876343fce00644c7bfbfba77b66 (patch) | |
tree | 508e67129755acfcfce5fcffbe534a18b3ffbff2 /platform/ios/src/MGLScaleBar.mm | |
parent | c9d7951e0d0ab85614ab296573e583ed44dbe7c0 (diff) | |
download | qtlocation-mapboxgl-b19e7d75629bf876343fce00644c7bfbfba77b66.tar.gz |
[ios] Move scale bar content size invalidation to map viewupstream/cherry-pick-10277
Diffstat (limited to 'platform/ios/src/MGLScaleBar.mm')
-rw-r--r-- | platform/ios/src/MGLScaleBar.mm | 3 |
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 { |