定位功能调整为 shift+alt+左键
This commit is contained in:
@@ -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))
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user