Commit b294f5f1 by GiottoMaster

update

parent 43fc2a7b
...@@ -139,7 +139,7 @@ const touchmove = (e) => { ...@@ -139,7 +139,7 @@ const touchmove = (e) => {
const clearArcFun = (x, y, r, cxt) => { const clearArcFun = (x, y, r, cxt) => {
// (x,y)为要清除的圆的圆心,r为半径,cxt为context // (x,y)为要清除的圆的圆心,r为半径,cxt为context
let stepClear = 1 // 别忘记这一步 let stepClear = 1
clearArc(x, y, r) clearArc(x, y, r)
function clearArc(x, y, radius) { function clearArc(x, y, radius) {
const calcWidth = radius - stepClear const calcWidth = radius - stepClear
......
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