Closed JinIgarashi closed 1 year ago
I think calculation of matrix.max_x and matrix.max_y has an issue.
I found if icons are only two, matrix.max_x
and matrix.max_y
's calculation has an issue.
if both icons are 15 x 15, max_x and max_y should be 15 and 30 respectively. However, actual calculated max_x and max_y are 15 and 15. That is why an icon will be missing in sprite.
When I put all maki icons in input folder, then execute the following command, the sprite.png is not generated properly (see the attached image) although sprite.json looks fine.
Also, if I only use
airport.svg
andcircle.svg
, the exported png only containsairport
(JSON has two icons).