Skip to content

Commit

Permalink
perf: 远程应用新增 Alt + Tab 快捷键
Browse files Browse the repository at this point in the history
  • Loading branch information
Halo1236 committed Mar 26, 2024
1 parent 98e550f commit 094db66
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion ui/src/components/GuacamoleConnect.vue
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,12 @@ export default {
name: 'Alt+Tab'
}
],
remoteAppCombinationKeys: [
{
keys: ['65513', '65289'],
name: 'Alt+Tab'
}
],
scale: 1,
timeout: null,
origin: null,
Expand Down Expand Up @@ -198,10 +204,18 @@ export default {
settings.push({
title: this.$t('Shortcuts'),
icon: 'el-icon-position',
disabled: () => (this.menuDisable || this.isRemoteApp),
disabled: () => (this.menuDisable),
content: this.combinationKeys,
itemClick: (keys) => (this.handleKeys(keys))
})
} else {
settings.push({
title: this.$t('Shortcuts'),
icon: 'el-icon-position',
disabled: () => (this.menuDisable),
content: this.remoteAppCombinationKeys,
itemClick: (keys) => (this.handleKeys(keys))
})
}
return settings
}
Expand Down

0 comments on commit 094db66

Please sign in to comment.