mirror of
https://github.com/Av0idD4rk/packmate.git
synced 2026-10-25 08:09:24 +00:00
Хоткеи срабатывают только при одновременном нажатии с Ctrl
This commit is contained in:
parent
44fa9824df
commit
98870edb1d
@ -30,6 +30,7 @@ export default {
|
|||||||
return {
|
return {
|
||||||
streams: [],
|
streams: [],
|
||||||
navigationKeysCallback: (e) => {
|
navigationKeysCallback: (e) => {
|
||||||
|
if (!e.ctrlKey) return;
|
||||||
if (e.key === 'ArrowUp') {
|
if (e.key === 'ArrowUp') {
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
const index = this.$data.streams.findIndex(e => e.id === this.$props.streamId);
|
const index = this.$data.streams.findIndex(e => e.id === this.$props.streamId);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user