定位功能调整为 shift+alt+左键
This commit is contained in:
parent
3aab5e9eb7
commit
e0a8e93704
|
@ -1,7 +1,7 @@
|
||||||
export const initDom = () => {
|
export const initDom = () => {
|
||||||
if (import.meta.env.MODE === 'development') {
|
if (import.meta.env.MODE === 'development') {
|
||||||
document.onmousedown = function(e) {
|
document.onmousedown = function(e) {
|
||||||
if (e.shiftKey && e.button === 0) {
|
if (e.shiftKey && e.altKey && e.button === 0) {
|
||||||
e.preventDefault()
|
e.preventDefault()
|
||||||
sendRequestToOpenFileInEditor(getFilePath(e))
|
sendRequestToOpenFileInEditor(getFilePath(e))
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue