Add offset_ fields for web targets
This commit is contained in:
1 parent
b5f5c6ebc1
commit
dbdcea6fc6
1 file changed
+2
@@ -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(),
|
||||
|
||||
Reference in new issue
Block a user