diff options
author | Minh Nguyễn <mxn@1ec5.org> | 2016-03-24 14:21:23 -0700 |
---|---|---|
committer | Minh Nguyễn <mxn@1ec5.org> | 2016-03-25 11:03:06 -0700 |
commit | 2a56565a9c612c79f099ed627bfacd8b47627487 (patch) | |
tree | a501a352a681bf447fc0efc1a109899c92ebc683 /platform/osx | |
parent | 2e01da1d71dd9965f1eeb608859879f70038c5da (diff) | |
download | qtlocation-mapboxgl-2a56565a9c612c79f099ed627bfacd8b47627487.tar.gz |
[ios, osx] Wrap coordinates converted from points
ref #4444
Diffstat (limited to 'platform/osx')
-rw-r--r-- | platform/osx/src/MGLMapView.mm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/osx/src/MGLMapView.mm b/platform/osx/src/MGLMapView.mm index e09a6c2672..1ab98b9f84 100644 --- a/platform/osx/src/MGLMapView.mm +++ b/platform/osx/src/MGLMapView.mm @@ -2160,7 +2160,7 @@ public: convertedPoint.x, // mbgl origin is at the top-left corner. NSHeight(self.bounds) - convertedPoint.y, - }); + }).wrapped(); } - (NSRect)convertCoordinateBounds:(MGLCoordinateBounds)bounds toRectToView:(nullable NSView *)view { |