Commit bfb201ce authored by 范雪寒's avatar 范雪寒

style: lien -> line

parent 077d64b0
......@@ -425,8 +425,8 @@ cc.Class({
graph.clear();
const posList = this.letterPosList[this.letter];
const lienList = this.getLineList(posList);
for (const pen of lienList) {
const lineList = this.getLineList(posList);
for (const pen of lineList) {
for (const line of pen) {
this.drawALineLast(drawNode, line.startPos, line.endPos, cc.color(181, 39, 48), writingIdx);
await asyncDelay(0.02);
......@@ -509,8 +509,8 @@ cc.Class({
graph.clear();
const posList = this.letterPosList[this.letter];
const lienList = this.getLineList(posList);
for (const pen of lienList) {
const lineList = this.getLineList(posList);
for (const pen of lineList) {
for (const line of pen) {
this.drawALine(drawNode, line.startPos, line.endPos, cc.color(0, 0, 255));
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment