mirror of
https://github.com/ZiuChen/ClipboardManager.git
synced 2025-06-28 21:22:53 +08:00
feat: 按住Shift
直接进入多选 移除进入插件时的自动聚焦
This commit is contained in:
parent
290464d55e
commit
bdfc4baf22
@ -246,8 +246,6 @@ utools.onPluginEnter(() => {
|
||||
utools.copyText('ImageOverSized')
|
||||
globalImageOversize = false
|
||||
}
|
||||
focus()
|
||||
select() // 进入插件将搜索框内容全选
|
||||
toTop()
|
||||
resetNav()
|
||||
})
|
||||
|
@ -276,10 +276,14 @@ onMounted(() => {
|
||||
} else {
|
||||
// 无上述情况 执行默认: 隐藏uTools主窗口
|
||||
}
|
||||
} else if (isShift) {
|
||||
// Shift: 多选操作
|
||||
if (!isMultiple.value) {
|
||||
handleMultiBtnClick()
|
||||
}
|
||||
} else if (isArrow || isEnter) {
|
||||
e.preventDefault()
|
||||
} else if (isShift || ctrlKey || metaKey || isAlt) {
|
||||
// Shift: 多选操作
|
||||
} else if (ctrlKey || metaKey || isAlt) {
|
||||
// Ctrl: utools模拟执行粘贴时触发
|
||||
// Alt:
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user