summaryrefslogtreecommitdiff
path: root/mapbox-gl-js
diff options
context:
space:
mode:
authorJohn Firebaugh <john.firebaugh@gmail.com>2017-05-18 09:37:21 -0700
committerJohn Firebaugh <john.firebaugh@gmail.com>2017-05-23 12:59:27 -0700
commit1759603e128ad0a08f4a25009b82695420ec2840 (patch)
tree77d74c683ca34efc25bd79cbb25774049dbfc695 /mapbox-gl-js
parent9e1cbbeacb4007f9c7919185df0aae90fc8f7ad1 (diff)
downloadqtlocation-mapboxgl-1759603e128ad0a08f4a25009b82695420ec2840.tar.gz
[core] Simplify and fix sprite atlas coordinate calculations
* Always return image metrics exclusive of padding * Work with integer coordinates whenever possible * Eliminate redundant SpriteAtlasElement members * Fix asymmetric re-padding in getIconQuad when pixelRatio != 1 * Add explanatory comments
Diffstat (limited to 'mapbox-gl-js')
m---------mapbox-gl-js0
1 files changed, 0 insertions, 0 deletions
diff --git a/mapbox-gl-js b/mapbox-gl-js
-Subproject 4a85df68533ae8fbf644f9f60df77eea344cd1c
+Subproject ca1e1cf149c66508761009cfc547c10c8ab539d