mirror of
https://github.com/chartjs/Chart.js.git
synced 2024-10-07 20:59:08 +02:00
Fix typo
This commit is contained in:
parent
961fd11098
commit
0bb3a9b024
@ -1283,8 +1283,8 @@
|
||||
|
||||
// Normalize all angles to 0 - 2*PI (0 - 360°)
|
||||
var pointRelativeAngle = pointRelativePosition.angle % (Math.PI * 2),
|
||||
var startAngle = (Math.PI * 2 + this.startAngle) % (Math.PI * 2),
|
||||
var endAngle = (Math.PI * 2 + this.endAngle) % (Math.PI * 2) || 360;
|
||||
startAngle = (Math.PI * 2 + this.startAngle) % (Math.PI * 2),
|
||||
endAngle = (Math.PI * 2 + this.endAngle) % (Math.PI * 2) || 360;
|
||||
|
||||
// Calculate wether the pointRelativeAngle is between the start and the end angle
|
||||
var betweenAngles = (endAngle < startAngle) ?
|
||||
|
Loading…
Reference in New Issue
Block a user