Fix touch events (#656)

This commit is contained in:
Justin Starry 2019-09-24 22:21:10 -04:00 committed by GitHub
parent 1375714339
commit 567a945ba1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -46,11 +46,11 @@ lazy_static! {
m.insert("onmousewheel", "MouseWheelEvent"); m.insert("onmousewheel", "MouseWheelEvent");
m.insert("onmouseover", "MouseOverEvent"); m.insert("onmouseover", "MouseOverEvent");
m.insert("onmouseup", "MouseUpEvent"); m.insert("onmouseup", "MouseUpEvent");
m.insert("touchcancel", "TouchCancel"); m.insert("ontouchcancel", "TouchCancel");
m.insert("touchend", "TouchEnd"); m.insert("ontouchend", "TouchEnd");
m.insert("touchenter", "TouchEnter"); m.insert("ontouchenter", "TouchEnter");
m.insert("touchmove", "TouchMove"); m.insert("ontouchmove", "TouchMove");
m.insert("touchstart", "TouchStart"); m.insert("ontouchstart", "TouchStart");
m.insert("ongotpointercapture", "GotPointerCaptureEvent"); m.insert("ongotpointercapture", "GotPointerCaptureEvent");
m.insert("onlostpointercapture", "LostPointerCaptureEvent"); m.insert("onlostpointercapture", "LostPointerCaptureEvent");
m.insert("onpointercancel", "PointerCancelEvent"); m.insert("onpointercancel", "PointerCancelEvent");