Skip to content

Commit

Permalink
delete bogus visibleProperty option to CanvasLinePlot, #165
Browse files Browse the repository at this point in the history
  • Loading branch information
pixelzoom committed Sep 20, 2021
1 parent 1a9a147 commit 8903668
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions js/wavepacket/view/WavePacketAmplitudesChartNode.js
Original file line number Diff line number Diff line change
Expand Up @@ -103,10 +103,7 @@ class WavePacketAmplitudesChartNode extends DomainChartNode {

// Displays the continuous waveform
const continuousWaveformPlot = new CanvasLinePlot( this.chartTransform, [], {
lineWidth: FMWConstants.SECONDARY_WAVEFORM_LINE_WIDTH,
//REVIEW: Below notes say "CanvasLinePlot does not support visibleProperty", but I see a usage here
//REVIEW: Should this line be removed?
visibleProperty: continuousWaveformVisibleProperty
lineWidth: FMWConstants.SECONDARY_WAVEFORM_LINE_WIDTH
} );

// Render the plots using Canvas.
Expand Down

0 comments on commit 8903668

Please sign in to comment.