From f6e609f46e5459ac0d0fa4f362ea443906e71d4e Mon Sep 17 00:00:00 2001 From: chrisklus Date: Mon, 25 Feb 2019 11:18:36 -0700 Subject: [PATCH] Remove this reference, see https://github.com/phetsims/energy-forms-and-changes/issues/220 and https://github.com/phetsims/energy-forms-and-changes/issues/219 --- js/systems/view/TeaKettleNode.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/systems/view/TeaKettleNode.js b/js/systems/view/TeaKettleNode.js index e1d3801c..9afd6e14 100644 --- a/js/systems/view/TeaKettleNode.js +++ b/js/systems/view/TeaKettleNode.js @@ -97,7 +97,7 @@ define( require => { // make the tea kettle & stand transparent when the energy chunks are visible energyChunksVisibleProperty.link( chunksVisible => { - if ( this.teaKettle.activeProperty.get() ) { + if ( teaKettle.activeProperty.get() ) { const opacity = chunksVisible ? 0.7 : 1; teaKettleImageNode.setOpacity( opacity ); burnerStandNode.setOpacity( opacity );