Skip to content

Commit

Permalink
Fixed the solder layering on startup (in master), see #36
Browse files Browse the repository at this point in the history
  • Loading branch information
samreid committed Jan 25, 2017
1 parent fa52745 commit 266cf8d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions js/blackbox/view/BlackBoxScreenView.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,10 @@ define( function( require ) {

// Show the selected scene
self.children = [ sceneViews[ scene ] ];

// Hack to fix the solder layering on startup, see https://github.com/phetsims/circuit-construction-kit-black-box-study/issues/36
sceneViews[ scene ].circuitConstructionKitModel.reset();
sceneViews[ scene ].reset();
} );

this.visibleBoundsProperty.link( function( visibleBounds ) {
Expand Down

0 comments on commit 266cf8d

Please sign in to comment.