Skip to content

Commit

Permalink
add "Slider Controls" help where appropriate, #215
Browse files Browse the repository at this point in the history
  • Loading branch information
pixelzoom committed Apr 4, 2024
1 parent 2e043c5 commit a63afc1
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 6 deletions.
8 changes: 6 additions & 2 deletions js/energy/view/EnergyKeyboardHelpContent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ import TwoColumnKeyboardHelpContent from '../../../../scenery-phet/js/keyboard/h
import MoveDraggableItemsKeyboardHelpSection from '../../../../scenery-phet/js/keyboard/help/MoveDraggableItemsKeyboardHelpSection.js';
import gasProperties from '../../gasProperties.js';
import ComboBoxKeyboardHelpSection from '../../../../scenery-phet/js/keyboard/help/ComboBoxKeyboardHelpSection.js';
import SliderControlsKeyboardHelpSection from '../../../../scenery-phet/js/keyboard/help/SliderControlsKeyboardHelpSection.js';

export default class EnergyKeyboardHelpContent extends TwoColumnKeyboardHelpContent {

Expand All @@ -23,13 +24,16 @@ export default class EnergyKeyboardHelpContent extends TwoColumnKeyboardHelpCont
// Move Draggable Items
new MoveDraggableItemsKeyboardHelpSection(),

// Pop open menu
new ComboBoxKeyboardHelpSection()
// Slider Controls
new SliderControlsKeyboardHelpSection()
];

// Sections in the right column.
const rightSections = [

// Pop open menu
new ComboBoxKeyboardHelpSection(),

// Basic Actions
new BasicActionsKeyboardHelpSection( {
withCheckboxContent: true
Expand Down
8 changes: 6 additions & 2 deletions js/explore/view/ExploreKeyboardHelpContent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ import TwoColumnKeyboardHelpContent from '../../../../scenery-phet/js/keyboard/h
import MoveDraggableItemsKeyboardHelpSection from '../../../../scenery-phet/js/keyboard/help/MoveDraggableItemsKeyboardHelpSection.js';
import gasProperties from '../../gasProperties.js';
import ComboBoxKeyboardHelpSection from '../../../../scenery-phet/js/keyboard/help/ComboBoxKeyboardHelpSection.js';
import SliderControlsKeyboardHelpSection from '../../../../scenery-phet/js/keyboard/help/SliderControlsKeyboardHelpSection.js';

export default class ExploreKeyboardHelpContent extends TwoColumnKeyboardHelpContent {

Expand All @@ -23,13 +24,16 @@ export default class ExploreKeyboardHelpContent extends TwoColumnKeyboardHelpCon
// Move Draggable Items
new MoveDraggableItemsKeyboardHelpSection(),

// Pop open menu
new ComboBoxKeyboardHelpSection()
// Slider Controls
new SliderControlsKeyboardHelpSection()
];

// Sections in the right column.
const rightSections = [

// Pop open menu
new ComboBoxKeyboardHelpSection(),

// Basic Actions
new BasicActionsKeyboardHelpSection( {
withCheckboxContent: true
Expand Down
8 changes: 6 additions & 2 deletions js/ideal/view/IdealKeyboardHelpContent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ import TwoColumnKeyboardHelpContent from '../../../../scenery-phet/js/keyboard/h
import MoveDraggableItemsKeyboardHelpSection from '../../../../scenery-phet/js/keyboard/help/MoveDraggableItemsKeyboardHelpSection.js';
import gasProperties from '../../gasProperties.js';
import ComboBoxKeyboardHelpSection from '../../../../scenery-phet/js/keyboard/help/ComboBoxKeyboardHelpSection.js';
import SliderControlsKeyboardHelpSection from '../../../../scenery-phet/js/keyboard/help/SliderControlsKeyboardHelpSection.js';

export default class IdealKeyboardHelpContent extends TwoColumnKeyboardHelpContent {

Expand All @@ -23,13 +24,16 @@ export default class IdealKeyboardHelpContent extends TwoColumnKeyboardHelpConte
// Move Draggable Items
new MoveDraggableItemsKeyboardHelpSection(),

// Pop open menu
new ComboBoxKeyboardHelpSection()
// Slider Controls
new SliderControlsKeyboardHelpSection()
];

// Sections in the right column.
const rightSections = [

// Pop open menu
new ComboBoxKeyboardHelpSection(),

// Basic Actions
new BasicActionsKeyboardHelpSection( {
withCheckboxContent: true
Expand Down

0 comments on commit a63afc1

Please sign in to comment.