Skip to content
This repository was archived by the owner on Aug 8, 2023. It is now read-only.

Commit 74b0627

Browse files
frederonifabian-guerra
authored andcommitted
[ios] update constraints when updating content inset
1 parent 177afa9 commit 74b0627

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

platform/ios/src/MGLMapView.mm

+1-1
Original file line numberDiff line numberDiff line change
@@ -1053,7 +1053,7 @@ - (void)setContentInset:(UIEdgeInsets)contentInset animated:(BOOL)animated
10531053
}
10541054

10551055
// Compass, logo and attribution button constraints needs to be updated.
1056-
[self setNeedsLayout];
1056+
[self setNeedsUpdateConstraints];
10571057
}
10581058

10591059
/// Returns the frame of inset content within the map view.

0 commit comments

Comments
 (0)