mirror of
https://github.com/captbaritone/webamp.git
synced 2026-07-23 18:17:38 +00:00
Reenable arrow key navigation
This commit is contained in:
parent
2997b3c46b
commit
38ace450d2
1 changed files with 2 additions and 2 deletions
|
|
@ -68,9 +68,9 @@ class FocusedSkin extends React.Component {
|
|||
this._disposable.add(
|
||||
fromEvent(window.document, "keydown").subscribe(e => {
|
||||
if (e.key === "ArrowRight") {
|
||||
// this.props.selectRelativeSkin(1);
|
||||
this.props.selectRelativeSkin(1);
|
||||
} else if (e.key === "ArrowLeft") {
|
||||
// this.props.selectRelativeSkin(-1);
|
||||
this.props.selectRelativeSkin(-1);
|
||||
}
|
||||
})
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue