Commit 408010c6 authored by zhangyanni's avatar zhangyanni

样式

parent 4f588b1b
......@@ -75,12 +75,13 @@ var that = this,imgData="";
ctx.lineTo(x, y + l)
ctx.arc(x + r - 2, y + l / 2, r + 0.4, 2.76 * PI, 1.24 * PI, true)
ctx.lineTo(x, y)
ctx.lineWidth = 2
ctx.fillStyle = 'rgba(255, 255, 255, 0.7)'
ctx.strokeStyle = 'rgba(255, 255, 255, 0.7)'
ctx.lineWidth = 2;
ctx.fillStyle = 'rgba(255, 255, 255,0.7)'
ctx.strokeStyle = 'rgba(255, 255, 255,0.7)'
ctx.stroke()
ctx[operation]()
ctx.globalCompositeOperation = 'overlay'
ctx.globalCompositeOperation = 'xor'
}
function sum (x, y) {
......@@ -171,7 +172,6 @@ var that = this,imgData="";
clean () {
var issafariBrowser = /Safari/.test(navigator.userAgent) && !/Chrome/.test(navigator.userAgent);
console.log(issafariBrowser)
if(publicFunc.isWhichBrowe().ios||issafariBrowser){
// location.reload()
}else{
......
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