mirror of
https://github.com/FreeTubeApp/FreeTube
synced 2024-12-15 06:00:57 +01:00
Add the alternate search keyboard shortcuts COMMAND+L on MacOS and CTRL+L on other platforms (#2175)
This commit is contained in:
parent
b3ee24ecf3
commit
4ef26df7a0
@ -312,6 +312,12 @@ export default Vue.extend({
|
||||
case 'Tab':
|
||||
this.hideOutlines = false
|
||||
break
|
||||
case 'KeyL':
|
||||
if ((process.platform !== 'darwin' && event.ctrlKey) ||
|
||||
(process.platform === 'darwin' && event.metaKey)) {
|
||||
this.$refs.topNav.focusSearch()
|
||||
}
|
||||
break
|
||||
}
|
||||
},
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user