mirror of
https://github.com/chartjs/Chart.js.git
synced 2024-10-06 20:29:12 +02:00
Remove empty if statement in element.line.js
This commit is contained in:
parent
abfbdd5f31
commit
c20d391b49
@ -150,9 +150,7 @@ module.exports = function(Chart) {
|
|||||||
|
|
||||||
// First point moves to it's starting position no matter what
|
// First point moves to it's starting position no matter what
|
||||||
if (index === 0) {
|
if (index === 0) {
|
||||||
if (currentVM.skip) {
|
if (!currentVM.skip) {
|
||||||
|
|
||||||
} else {
|
|
||||||
ctx.moveTo(currentVM.x, currentVM.y);
|
ctx.moveTo(currentVM.x, currentVM.y);
|
||||||
lastDrawnIndex = index;
|
lastDrawnIndex = index;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user