Skip to content

Commit

Permalink
GeneralKeyboardHelpSection.js -> BasicActionsKeyboardHelpSection.js, …
Browse files Browse the repository at this point in the history
  • Loading branch information
jessegreenberg committed Dec 16, 2021
1 parent 0280a92 commit df9049c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions js/view/GravityForceLabKeyboardHelpContent.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
*/

import merge from '../../../phet-core/js/merge.js';
import GeneralKeyboardHelpSection from '../../../scenery-phet/js/keyboard/help/GeneralKeyboardHelpSection.js';
import BasicActionsKeyboardHelpSection from '../../../scenery-phet/js/keyboard/help/BasicActionsKeyboardHelpSection.js';
import KeyboardHelpIconFactory from '../../../scenery-phet/js/keyboard/help/KeyboardHelpIconFactory.js';
import KeyboardHelpSection from '../../../scenery-phet/js/keyboard/help/KeyboardHelpSection.js';
import TwoColumnKeyboardHelpContent from '../../../scenery-phet/js/keyboard/help/TwoColumnKeyboardHelpContent.js';
Expand Down Expand Up @@ -124,14 +124,14 @@ class GravityForceLabKeyboardHelpContent extends TwoColumnKeyboardHelpContent {
// align icons for the mass movement and adjustment sections
KeyboardHelpSection.alignHelpSectionIcons( [ moveMassHelpSection, adjustMassHelpSection ] );

const generalNavigationHelpSection = new GeneralKeyboardHelpSection( {
const basicActionsHelpSection = new BasicActionsKeyboardHelpSection( {
withCheckboxContent: true
} );

const grabDragHelpContent = KeyboardHelpSection.getGrabReleaseHelpSection( rulerCapitalizedString, rulerString, {} );

const leftContent = [ moveMassHelpSection, adjustMassHelpSection ];
const rightContent = [ generalNavigationHelpSection ];
const rightContent = [ basicActionsHelpSection ];

if ( !options.isBasics ) {
rightContent.unshift( grabDragHelpContent, new MoveOrJumpGrabbedRulerHelpSection() );
Expand Down

0 comments on commit df9049c

Please sign in to comment.