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 59e2111 commit 5d10936
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js/FineCoarseSpinner.ts
Original file line number Diff line number Diff line change
Expand Up @@ -124,13 +124,13 @@ export default class FineCoarseSpinner extends Node {
{ tandem: options.tandem.createTandem( 'incrementCoarseButton' ) } ) );

// < << [ value ] >> >
const layoutBox = new HBox( {
const hBox = new HBox( {
spacing: options.spacing,
children: [ decrementFineButton, decrementCoarseButton, numberDisplay, incrementCoarseButton, incrementFineButton ]
} );

// Wrap in Node to hide HBox API.
options.children = [ layoutBox ];
options.children = [ hBox ];

super( options );

Expand Down

1 comment on commit 5d10936

@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.