This repository has been archived by the owner on Aug 8, 2023. It is now read-only.
[ios] Fix content insets with custom edge padding. #14813
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fabian-guerra
added
bug
iOS
Mapbox Maps SDK for iOS
needs changelog
Indicates PR needs a changelog entry prior to merging.
labels
Jun 1, 2019
1ec5
approved these changes
Jun 1, 2019
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I went ahead and consolidated the NSEdgeInsets/UIEdgeInsets→MGLEdgeInsets typedef, factored out a method that adds two edge insets together, and made the same change on macOS.
1ec5
added
macOS
Mapbox Maps SDK for macOS
and removed
needs changelog
Indicates PR needs a changelog entry prior to merging.
labels
Jun 1, 2019
Per #12818 (comment), we may want to clarify the new behavior in the documentation for this method on both platforms. |
…dgePadding method documentation.
frederoni
approved these changes
Jun 3, 2019
julianrex
approved these changes
Jun 3, 2019
Given how unreliable this behavior has been, this really feels like it should have tests... otherwise we’re going to keep repeating this cycle of breaking/fixing. Ticketed this readily apparent need in #14827. |
This was referenced Jun 11, 2019
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixes #12818