Properly set MouseEvent buttons property

This commit is contained in:
Paul Rouget 2019-10-28 17:11:45 +01:00
parent 9640ad1ccf
commit 3a8d306281
2 changed files with 1 additions and 4 deletions

View file

@ -137,7 +137,7 @@ impl MouseEvent {
init.parent.shiftKey,
init.parent.metaKey,
init.button,
0,
init.buttons,
init.relatedTarget.as_deref(),
None,
);