mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-21 06:24:06 +01:00
Add global mouse position variable (#8793)
* 🎨 add global mouse position variable * 🎨 add global mouse position variables * 🎨 add global mouse position variable `coordinates` * 🎨 Increase operating efficiency * 🎨 Increase operating efficiency
This commit is contained in:
parent
9a383130f0
commit
4f812bcf0c
2 changed files with 24 additions and 0 deletions
8
app/src/types/index.d.ts
vendored
8
app/src/types/index.d.ts
vendored
|
|
@ -280,6 +280,14 @@ interface ISiyuan {
|
|||
ctrlIsPressed?: boolean,
|
||||
altIsPressed?: boolean,
|
||||
shiftIsPressed?: boolean,
|
||||
coordinates?: {
|
||||
pageX: number,
|
||||
pageY: number,
|
||||
clientX: number,
|
||||
clientY: number,
|
||||
screenX: number,
|
||||
screenY: number,
|
||||
},
|
||||
menus?: import("../menus").Menus
|
||||
languages?: {
|
||||
[key: string]: any;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue