This is a naïve implementation that essentially merges updated data into existing data. It will *not* remove icons from the stale sprite if they aren't present in the fresh sprite (we aren't tracking the source of a sprite, and the user could have changed it as well). Similarly, it will not update icons that have changed in dimension. This is a rare edge case and probably not worth implementing.
11 lines
118 B
JSON
11 lines
118 B
JSON
{
|
|
"noise": {
|
|
"x": 0,
|
|
"y": 0,
|
|
"width": 32,
|
|
"height": 32,
|
|
"pixelRatio": 1,
|
|
"sdf": false
|
|
}
|
|
}
|