Skip to content

Commit

Permalink
Removed FastMatrix3 and improve pooling for Matrix3, see phetsims/dot#18
Browse files Browse the repository at this point in the history
  • Loading branch information
samreid committed Apr 29, 2014
1 parent 4ea52ea commit ab13bbe
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 3 additions & 1 deletion js/view/right-control-panel/RightControlPanel.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,11 @@ define( function( require ) {

// add sections
for ( var i = 0, len = sections.length; i < len; i++ ) {
sectionLinks[i] = new sections[i]( model, {x: 5} );
sectionLinks[i] = new sections[i]( model, {x: 5, y: 0} );
nodes[i] = new Node( { children: [sectionLinks[i]]} );
this.box.addChild( nodes[i] );
assert && assert( !isNaN( nodes[i].width ) );
assert && assert( !isNaN( nodes[i].height ) );
}

// find width for lines
Expand Down
2 changes: 2 additions & 0 deletions js/view/right-control-panel/mass-menu/MassMenu.js
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,8 @@ define( function( require ) {

self.vBox.updateLayout();
} );

assert && assert( !isNaN( this.height ) );
}

return inherit( Node, MassMenu );
Expand Down

0 comments on commit ab13bbe

Please sign in to comment.