Merge pull request #8655 from fredj/webkit_touch

Remove webkit specific properties from Touch
This commit is contained in:
Frédéric Junod
2018-09-19 15:05:20 +02:00
committed by GitHub

View File

@@ -228,9 +228,9 @@ class TouchSource extends EventSource {
e.detail = this.clickCount_;
e.button = 0;
e.buttons = 1;
e.width = inTouch.webkitRadiusX || inTouch.radiusX || 0;
e.height = inTouch.webkitRadiusY || inTouch.radiusY || 0;
e.pressure = inTouch.webkitForce || inTouch.force || 0.5;
e.width = inTouch.radiusX || 0;
e.height = inTouch.radiusY || 0;
e.pressure = inTouch.force || 0.5;
e.isPrimary = this.isPrimaryTouch_(inTouch);
e.pointerType = POINTER_TYPE;