Skip to content

Commit

Permalink
Initial work for removing Events .on()/.onStatic()/.off()/.offStatic(…
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanolson committed Apr 9, 2020
1 parent 23557ff commit a50707b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions js/concentration/view/ConcentrationMeterNode.js
Original file line number Diff line number Diff line change
Expand Up @@ -107,10 +107,10 @@ class ConcentrationMeterNode extends Node {
else {
solution.percentConcentrationProperty.link( updateValue );
}
solutionNode.on( 'bounds', updateValue );
stockSolutionNode.on( 'bounds', updateValue );
solventFluidNode.on( 'bounds', updateValue );
drainFluidNode.on( 'bounds', updateValue );
solutionNode.boundsProperty.lazyLink( updateValue );
stockSolutionNode.boundsProperty.lazyLink( updateValue );
solventFluidNode.boundsProperty.lazyLink( updateValue );
drainFluidNode.boundsProperty.lazyLink( updateValue );
}
}

Expand Down

0 comments on commit a50707b

Please sign in to comment.