You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think this can be simply fixed with a couple of conditional statements for dates more than 6 months apart.. telling the describearc function to choose the longer arc..
The text was updated successfully, but these errors were encountered:
Crossing the new year seems to screw up the conditional statement determining arcsweep (see below) and it doesnt evaluate as 1. When I manually enter 1 all the problematic arcs are fixed. Im sure there is an easy fix.. bit tired to solve this right now.
pClock.Renderer.prototype.describeArc = function( x, y, radius, startAngle, endAngle ){
var start, end, arcSweep, d;
start = this.polarToCartesian(x, y, radius, endAngle);
end = this.polarToCartesian(x, y, radius, startAngle);
arcSweep = ( endAngle - startAngle <= 180 ) ? "0" : "1";
I think this can be simply fixed with a couple of conditional statements for dates more than 6 months apart.. telling the describearc function to choose the longer arc..
The text was updated successfully, but these errors were encountered: