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')
|
utools.copyText('ImageOverSized')
|
||||||
globalImageOversize = false
|
globalImageOversize = false
|
||||||
}
|
}
|
||||||
focus()
|
|
||||||
select() // 进入插件将搜索框内容全选
|
|
||||||
toTop()
|
toTop()
|
||||||
resetNav()
|
resetNav()
|
||||||
})
|
})
|
||||||
|
@ -276,10 +276,14 @@ onMounted(() => {
|
|||||||
} else {
|
} else {
|
||||||
// 无上述情况 执行默认: 隐藏uTools主窗口
|
// 无上述情况 执行默认: 隐藏uTools主窗口
|
||||||
}
|
}
|
||||||
|
} else if (isShift) {
|
||||||
|
// Shift: 多选操作
|
||||||
|
if (!isMultiple.value) {
|
||||||
|
handleMultiBtnClick()
|
||||||
|
}
|
||||||
} else if (isArrow || isEnter) {
|
} else if (isArrow || isEnter) {
|
||||||
e.preventDefault()
|
e.preventDefault()
|
||||||
} else if (isShift || ctrlKey || metaKey || isAlt) {
|
} else if (ctrlKey || metaKey || isAlt) {
|
||||||
// Shift: 多选操作
|
|
||||||
// Ctrl: utools模拟执行粘贴时触发
|
// Ctrl: utools模拟执行粘贴时触发
|
||||||
// Alt:
|
// Alt:
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user