Skip to content

Commit

Permalink
remove unnecessary calls to setFocusOnCloseNode, #194
Browse files Browse the repository at this point in the history
  • Loading branch information
pixelzoom committed Sep 28, 2021
1 parent 5a78500 commit 7d1e5bc
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion js/discrete/view/DiscreteControlPanel.js
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,6 @@ class DiscreteControlPanel extends Panel {
touchAreaDilation: 15,
tandem: options.tandem.createTandem( 'infoButton' )
} );
infoDialog.setFocusOnCloseNode( infoButton );

const content = new Node( {
children: [ vBox, infoButton ]
Expand Down
1 change: 0 additions & 1 deletion js/discrete/view/DiscreteScreenView.js
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,6 @@ class DiscreteScreenView extends ScreenView {
tandem: sumEquationNodeTandem.createTandem( 'expandedFormButton' ),
phetioDocumentation: 'Pressing this button opens a dialog that shows the expanded form of the Sum equation.'
} );
expandedFormDialog.setFocusOnCloseNode( expandedFormButton );

const sumEquationParentNode = new Node( {
children: [ sumEquationNode, expandedFormButton ]
Expand Down
1 change: 0 additions & 1 deletion js/wavepacket/view/WavePacketControlPanel.js
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,6 @@ class WavePacketControlPanel extends Panel {
touchAreaDilation: 15,
tandem: options.tandem.createTandem( 'infoButton' )
} );
infoDialog.setFocusOnCloseNode( infoButton );

const content = new Node( {
children: [ vBox, infoButton ]
Expand Down

0 comments on commit 7d1e5bc

Please sign in to comment.