Skip to content

Commit

Permalink
Fix broken phet-io visibleProperty, see #1046
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisklus committed Apr 20, 2020
1 parent 900e391 commit f6a2ce5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/nodes/Node.js
Original file line number Diff line number Diff line change
Expand Up @@ -5220,7 +5220,7 @@ inherit( PhetioObject, Node, extend( {
phetioDocumentation: 'Controls whether the Node will be visible (and interactive), see the NodeIO documentation for more details.'
}, this.phetioComponentOptions, this.phetioComponentOptions.visibleProperty, options.visiblePropertyOptions ) );

this.visibleProperty = this.instrumentedVisibleProperty;
this.visibleProperty = instrumentedVisibleProperty;
this.instrumentedVisibleProperty = instrumentedVisibleProperty;
}
else {
Expand Down

0 comments on commit f6a2ce5

Please sign in to comment.