Skip to content

Commit

Permalink
deprecate LayoutBox, phetsims/scenery#1418
Browse files Browse the repository at this point in the history
  • Loading branch information
pixelzoom committed May 31, 2022
1 parent 8258373 commit 1f85021
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/wavepacket/view/WavePacketControlPanel.js
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ class WavePacketControlPanel extends Panel {

// Put a separator between each logical section.
// Use a uniform separator width, sized to fit the widest section
const separatorWidth = _.maxBy( sectionNodes, layoutBox => layoutBox.width ).width;
const separatorWidth = _.maxBy( sectionNodes, node => node.width ).width;
const separatorOptions = {
stroke: FMWColors.separatorStrokeProperty
};
Expand Down

1 comment on commit 1f85021

@pixelzoom
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.