chanind / hanzi-writer

Chinese character stroke order animations and practice quizzes
https://hanziwriter.org
MIT License
3.52k stars 551 forks source link

`new Path2D()` should not be used, please use `canvas.createPath2D()` #310

Open blackboyhc opened 9 months ago

blackboyhc commented 9 months ago

在微信小程序中使用的时候会提示new Path2D() should not be used, please use canvas.createPath2D(),在iOS平台笔画会错乱,在Android平台不显示。 1711ef0915e83fb328263a7a87a616a 微信版本8.0.44

wuMaoTou commented 4 months ago

StrokeRenderer可以设置不是用 path2D, usePath2D设置为 false 就好了

numbersi commented 1 month ago

@wuMaoTou 能贴下 在哪修改吗