Skip to content

Commit

Permalink
add issue number to code that's unfamiliar to me
Browse files Browse the repository at this point in the history
  • Loading branch information
pixelzoom committed Apr 14, 2022
1 parent 699729e commit f005535
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions js/AquaRadioButtonGroup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ export default class AquaRadioButtonGroup<T> extends LayoutBox {
} );

// zoom - signify that key input is reserved and we should not pan when user presses arrow keys
// See https://github.com/phetsims/scenery/issues/974
const intentListener = { keydown: ( event: SceneryEvent<KeyboardEvent> ) => event.pointer.reserveForKeyboardDrag() };
this.addInputListener( intentListener );

Expand Down

0 comments on commit f005535

Please sign in to comment.