Skip to content

Commit

Permalink
minor formatting, phetsims/scenery-phet#887
Browse files Browse the repository at this point in the history
  • Loading branch information
zepumph committed Dec 19, 2024
1 parent 514dc33 commit ce74221
Showing 1 changed file with 10 additions and 12 deletions.
22 changes: 10 additions & 12 deletions js/common/view/GroupSelectDragInteractionView.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,19 @@
*
*/

import GroupSelectView, { GroupSelectViewOptions } from '../../../../scenery-phet/js/accessibility/group-sort/view/GroupSelectView.js';
import GroupSelectModel from '../../../../scenery-phet/js/accessibility/group-sort/model/GroupSelectModel.js';
import CountingObject from '../model/CountingObject.js';
import LocationCountingObjectNode from './LocationCountingObjectNode.js';
import numberPairs from '../../numberPairs.js';
import { KeyboardListener, Node } from '../../../../scenery/js/imports.js';
import NumberPairsModel from '../model/NumberPairsModel.js';
import optionize, { combineOptions } from '../../../../phet-core/js/optionize.js';
import DerivedProperty from '../../../../axon/js/DerivedProperty.js';
import optionize, { combineOptions } from '../../../../phet-core/js/optionize.js';
import PickRequired from '../../../../phet-core/js/types/PickRequired.js';
import StrictOmit from '../../../../phet-core/js/types/StrictOmit.js';
import GroupSelectModel from '../../../../scenery-phet/js/accessibility/group-sort/model/GroupSelectModel.js';
import GroupSelectView, { GroupSelectViewOptions } from '../../../../scenery-phet/js/accessibility/group-sort/view/GroupSelectView.js';
import SoundKeyboardDragListener, { SoundKeyboardDragListenerOptions } from '../../../../scenery-phet/js/SoundKeyboardDragListener.js';
import { KeyboardListener, Node } from '../../../../scenery/js/imports.js';
import { PhetioObjectOptions } from '../../../../tandem/js/PhetioObject.js';
import numberPairs from '../../numberPairs.js';
import CountingObject from '../model/CountingObject.js';
import NumberPairsModel from '../model/NumberPairsModel.js';
import LocationCountingObjectNode from './LocationCountingObjectNode.js';

// A list of all keys that are listened to, except those covered by the numberKeyMapper
const KEYBOARD_INTERACTION_KEYS = [
Expand All @@ -36,10 +36,8 @@ type SelfOptions = {
soundKeyboardDragListenerOptions?: SoundKeyboardDragListenerOptions;
getNextSelectedGroupItemFromPressedKeys: ( keysPressed: AvailablePressedKeys, groupItem: CountingObject ) => CountingObject;
};
type GroupSelectDragInteractionViewOptions =
SelfOptions
& StrictOmit<GroupSelectViewOptions<CountingObject, LocationCountingObjectNode>, 'getNodeFromModelItem'>
&
type GroupSelectDragInteractionViewOptions = SelfOptions &
StrictOmit<GroupSelectViewOptions<CountingObject, LocationCountingObjectNode>, 'getNodeFromModelItem'> &
PickRequired<PhetioObjectOptions, 'tandem'>;

export default class GroupSelectDragInteractionView extends GroupSelectView<CountingObject, LocationCountingObjectNode> {
Expand Down

0 comments on commit ce74221

Please sign in to comment.