diff options
author | Fredrik Karlsson <bjorn.fredrik.karlsson@gmail.com> | 2017-11-17 15:17:04 +0100 |
---|---|---|
committer | Fredrik Karlsson <bjorn.fredrik.karlsson@gmail.com> | 2017-11-17 15:17:04 +0100 |
commit | b6d9eb4389615559d275c222df259631395452c8 (patch) | |
tree | c5355c9069f3f828e8f2c05765d573646cb19927 | |
parent | dcd7da14f6627a09a5840a3046b5708449962f69 (diff) | |
download | qtlocation-mapboxgl-upstream/fred-layout-fix.tar.gz |
[ios] update constraints when updating content insetupstream/fred-layout-fix
-rw-r--r-- | platform/ios/src/MGLMapView.mm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/ios/src/MGLMapView.mm b/platform/ios/src/MGLMapView.mm index ccab1fad36..b54dfc4e98 100644 --- a/platform/ios/src/MGLMapView.mm +++ b/platform/ios/src/MGLMapView.mm @@ -1050,7 +1050,7 @@ public: } // Compass, logo and attribution button constraints needs to be updated. - [self setNeedsLayout]; + [self setNeedsUpdateConstraints]; } /// Returns the frame of inset content within the map view. |