Skip to content

Commit

Permalink
Fix IE11 beginPath #198 #194
Browse files Browse the repository at this point in the history
  • Loading branch information
aterrien committed Apr 24, 2014
1 parent 1a6d581 commit d182c67
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions js/jquery.knob.js
Original file line number Diff line number Diff line change
Expand Up @@ -751,8 +751,10 @@

c.lineWidth = this.lineWidth;
c.lineCap = this.lineCap;
c.strokeStyle = this.o.bgColor;
c.arc(this.xy, this.xy, this.radius, this.endAngle - 0.00001, this.startAngle + 0.00001, true);

c.beginPath();
c.strokeStyle = this.o.bgColor;
c.arc(this.xy, this.xy, this.radius, this.endAngle - 0.00001, this.startAngle + 0.00001, true);
c.stroke();

if (this.o.displayPrevious) {
Expand Down

1 comment on commit d182c67

@polklein
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you so much. Quite kind of you to be so responsive, and of course, works great.

In gratitude,
Pol

Please sign in to comment.