Implemented focus for active channel in channel list
This commit is contained in:
@@ -75,10 +75,16 @@ class HomePage {
|
||||
|
||||
switch (e.key) {
|
||||
case 'ArrowUp':
|
||||
// Check if player handles arrows for volume
|
||||
if (this.app.player && !this.app.player.settings.arrowKeysChangeChannel) return;
|
||||
|
||||
e.preventDefault();
|
||||
this.app.channelList.selectPrevChannel();
|
||||
break;
|
||||
case 'ArrowDown':
|
||||
// Check if player handles arrows for volume
|
||||
if (this.app.player && !this.app.player.settings.arrowKeysChangeChannel) return;
|
||||
|
||||
e.preventDefault();
|
||||
this.app.channelList.selectNextChannel();
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user