Add offset_ fields for web targets

This commit is contained in:
Reinis Mazeiks 2022-05-04 19:55:42 +03:00
parent b5f5c6ebc1
commit dbdcea6fc6

View file

@ -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(),