Skip to content

Commit 9ddba49

Browse files
committed
update SPRITES.md with limitations of cross-browser SVG rendering [#82]
1 parent a1bf1b6 commit 9ddba49

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

SPRITES.md

+4
Original file line numberDiff line numberDiff line change
@@ -54,3 +54,7 @@ sheet.load().then(() => {
5454
ctx.drawImage(s.canvas, s.x, s.y, s.w, s.h, 0, 0, s.w, s.h);
5555
});
5656
```
57+
58+
## Limitations
59+
60+
SVGs in a spritesheet should avoid advanced SVG features like drop shadows, because these are unlikely to be rendered correctly and consistently across web browsers.

0 commit comments

Comments
 (0)