summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorAnsis Brammanis <brammanis@gmail.com>2015-01-27 19:15:22 -0800
committerAnsis Brammanis <brammanis@gmail.com>2015-01-27 19:15:22 -0800
commit793985580d202de8613a09bfe176b102eff04cdc (patch)
treebf6199d78cf60e21f2cbb729df3cec84c6900eb0 /configure
parent5aefe40bf9989e9556ca8700951ee919c9406bc2 (diff)
downloadqtlocation-mapboxgl-793985580d202de8613a09bfe176b102eff04cdc.tar.gz
fix sprite atlas padding and icon centering
Pad each icon with one pixel on the bottom and right sides. On top of this, extra padding is added to round the widths and heights to multiples of four. This then fixes the positions of the bottom and right vertices to correctly center the icon's box around the center of the icon, not the center of the padded icon. js: 32ca4007699d1d21ab25bb38588b151510194030 fixes https://github.com/mapbox/mapbox-gl-js/issues/947
Diffstat (limited to 'configure')
0 files changed, 0 insertions, 0 deletions