Skip to content

Commit

Permalink
rename increment/decrement emitters of AccessibleNumberSpinner, see p…
Browse files Browse the repository at this point in the history
  • Loading branch information
jessegreenberg committed Feb 28, 2024
1 parent 103c332 commit 78ae4d2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js/common/view/SelectorNode.ts
Original file line number Diff line number Diff line change
Expand Up @@ -139,8 +139,8 @@ export default class SelectorNode extends AccessibleNumberSpinner( Node, 0 ) {
// and the buttons look depressed
const increasedListener = ( isDown: boolean ) => isDown && incrementButton.pdomClick();
const decreasedListener = ( isDown: boolean ) => isDown && decrementButton.pdomClick();
this.incrementDownEmitter.addListener( increasedListener );
this.decrementDownEmitter.addListener( decreasedListener );
this.pdomIncrementDownEmitter.addListener( increasedListener );
this.pdomDecrementDownEmitter.addListener( decreasedListener );

this.addLinkedElement( numberProperty );

Expand Down

0 comments on commit 78ae4d2

Please sign in to comment.