From 00d48a01b1aeadbeb0b7d167aca892de78659b76 Mon Sep 17 00:00:00 2001 From: henry Date: Thu, 31 Jan 2013 23:36:40 +0000 Subject: [PATCH] Ensure paths for separate elements don't join in IE. Fixes #13 --- coolclock.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/coolclock.js b/coolclock.js index 0421ac1..b167541 100644 --- a/coolclock.js +++ b/coolclock.js @@ -127,15 +127,12 @@ CoolClock.prototype = { this.ctx.globalAlpha = skin.alpha; this.ctx.lineWidth = skin.lineWidth; - if (!CoolClock.config.isIE) { - this.ctx.beginPath(); - } - if (CoolClock.config.isIE) { // excanvas doesn't scale line width so we will do it here this.ctx.lineWidth = this.ctx.lineWidth * this.scale; } + this.ctx.beginPath(); this.ctx.arc(x, y, skin.radius, 0, 2*Math.PI, true); if (skin.fillColor) {