chanind / hanzi-writer

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

Can this library support setting the screen to not flash when i start quiz and set quizStartStrokeNum ? #303

Closed mingyigg closed 7 months ago

mingyigg commented 1 year ago

As mentioned in the title,I start quiz and set quizStartStrokeNum after the first few strokes have been displayed,the already set strokes will disappear first and then appear again, which is a very bad experience. Can you provide settings not to clear the existing strokes, but start the test directly when start quiz writer.animateStroke({ strokeIndex,onComplete: () => { writer.quiz({ quizStartStrokeNum: strokeIndex+1 });}});

mingyigg commented 1 year ago

I find a solution that settinging strokeFadeDuration:0,please close this issue