Add offset coordinates to mouse events on TUI and desktop.
This commit is contained in:
1 parent
96c178f91f
commit
d84d414170
3 files changed
+14
No files matched your search
@@ -409,6 +409,8 @@ export function serialize_event(event) {
|
||||
clientY,
|
||||
ctrlKey,
|
||||
metaKey,
|
||||
offsetX,
|
||||
offsetY,
|
||||
pageX,
|
||||
pageY,
|
||||
screenX,
|
||||
@@ -423,6 +425,8 @@ export function serialize_event(event) {
|
||||
client_y: clientY,
|
||||
ctrl_key: ctrlKey,
|
||||
meta_key: metaKey,
|
||||
offset_x: offsetX,
|
||||
offset_y: offsetY,
|
||||
page_x: pageX,
|
||||
page_y: pageY,
|
||||
screen_x: screenX,
|
||||
|
||||
Reference in new issue
Block a user