diff options
author | Konstantin Käfer <mail@kkaefer.com> | 2019-10-14 15:16:14 +0200 |
---|---|---|
committer | Konstantin Käfer <mail@kkaefer.com> | 2019-10-14 18:46:12 +0200 |
commit | 2187980a871cc22f59c1078a949e42db0ab7c1a2 (patch) | |
tree | af86f66a8c3aa45b0b5b967867431a50e9df264c /platform | |
parent | 9cac122c5cf6404b9c8cdb52f130f7386a273241 (diff) | |
download | qtlocation-mapboxgl-2187980a871cc22f59c1078a949e42db0ab7c1a2.tar.gz |
[core] fix icon-text-fit
This fixes rendering by account for the 1px texture padding around icons that were stretched with icon-text-fit. We've added the 1px padding before, but didn't scale it accordingly when we are resizing the icon when it is stretched to fit the text. Adjusts the code to match the logic in GL JS.
Diffstat (limited to 'platform')
-rw-r--r-- | platform/node/test/ignores.json | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/platform/node/test/ignores.json b/platform/node/test/ignores.json index 289f38be38..51decb351c 100644 --- a/platform/node/test/ignores.json +++ b/platform/node/test/ignores.json @@ -76,6 +76,9 @@ "render-tests/fill-sort-key/literal": "https://github.com/mapbox/mapbox-gl-native/issues/15008", "render-tests/line-sort-key/literal": "https://github.com/mapbox/mapbox-gl-native/issues/15008", "render-tests/regressions/mapbox-gl-js#8817": "skip - https://github.com/mapbox/mapbox-gl-native/issues/15737", + "render-tests/text-max-width/zero-width-point-placement": "https://github.com/mapbox/mapbox-gl-native/issues/15648", + "render-tests/icon-image/image-expression": "https://github.com/mapbox/mapbox-gl-native/issues/15800", + "render-tests/icon-text-fit/text-variable-anchor-overlap": "https://github.com/mapbox/mapbox-gl-native/issues/15809", "query-tests/fill-extrusion/base-in": "https://github.com/mapbox/mapbox-gl-native/issues/13139", "query-tests/fill-extrusion/box-in": "https://github.com/mapbox/mapbox-gl-native/issues/13139", "query-tests/fill-extrusion/side-in": "https://github.com/mapbox/mapbox-gl-native/issues/13139", |