Skip to content

Commit

Permalink
fix: fixed plotlines update (#123)
Browse files Browse the repository at this point in the history
  • Loading branch information
zefirka authored Aug 3, 2023
1 parent 8eec116 commit d3f24d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/YagrCore/plugins/plotLines/plotLines.ts
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ export default function plotLinesPlugin(yagr: Yagr, plotLinesCfg: PlotLineConfig
}

const additions = newPlotLines!.filter((p) => {
return !hasPlotLine(plotLinesCfg, p);
return !hasPlotLine(plotLines, p);
});

const removes = plotLines.filter((p) => {
Expand Down

0 comments on commit d3f24d4

Please sign in to comment.