mirror of
https://github.com/DioxusLabs/dioxus
synced 2024-09-22 15:21:58 +00:00
Add offset_ fields for web targets
This commit is contained in:
parent
b5f5c6ebc1
commit
dbdcea6fc6
1 changed files with 2 additions and 0 deletions
|
@ -79,6 +79,8 @@ impl From<&MouseEvent> for MouseData {
|
|||
client_y: e.client_y(),
|
||||
ctrl_key: e.ctrl_key(),
|
||||
meta_key: e.meta_key(),
|
||||
offset_x: e.offset_x(),
|
||||
offset_y: e.offset_y(),
|
||||
screen_x: e.screen_x(),
|
||||
screen_y: e.screen_y(),
|
||||
shift_key: e.shift_key(),
|
||||
|
|
Loading…
Reference in a new issue