diff options
author | Minh Nguyễn <mxn@1ec5.org> | 2017-04-24 13:31:22 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-24 13:31:22 -0400 |
commit | 6f708ac5458fe332e25ca398431928b7ff5ba404 (patch) | |
tree | 359f3ce3c3ce529b4a46d330d37c5840f0693492 /platform/macos/src/MGLMapView.mm | |
parent | 42c308fd8fc227b0c4d467543ef9f57e03e72ede (diff) | |
download | qtlocation-mapboxgl-6f708ac5458fe332e25ca398431928b7ff5ba404.tar.gz |
[ios, macos] Update MGLMapView logo view (#8771)
* [ios, macos] Updated logo view to new Mapbox logo
* [default] Updated attribution logo SVG
Diffstat (limited to 'platform/macos/src/MGLMapView.mm')
-rw-r--r-- | platform/macos/src/MGLMapView.mm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/macos/src/MGLMapView.mm b/platform/macos/src/MGLMapView.mm index c56b32bfcf..cf3a5afe7f 100644 --- a/platform/macos/src/MGLMapView.mm +++ b/platform/macos/src/MGLMapView.mm @@ -363,7 +363,7 @@ public: NSImage *logoImage = [[NSImage alloc] initWithContentsOfFile: [[NSBundle mgl_frameworkBundle] pathForResource:@"mapbox" ofType:@"pdf"]]; // Account for the image’s built-in padding when aligning other controls to the logo. - logoImage.alignmentRect = NSInsetRect(logoImage.alignmentRect, 3, 3); + logoImage.alignmentRect = NSInsetRect(logoImage.alignmentRect, 0, 3); _logoView.image = logoImage; _logoView.translatesAutoresizingMaskIntoConstraints = NO; _logoView.accessibilityTitle = NSLocalizedStringWithDefaultValue(@"MAP_A11Y_TITLE", nil, nil, @"Mapbox", @"Accessibility title"); |