Merge pull request #8655 from fredj/webkit_touch
Remove webkit specific properties from Touch
This commit is contained in:
@@ -228,9 +228,9 @@ class TouchSource extends EventSource {
|
|||||||
e.detail = this.clickCount_;
|
e.detail = this.clickCount_;
|
||||||
e.button = 0;
|
e.button = 0;
|
||||||
e.buttons = 1;
|
e.buttons = 1;
|
||||||
e.width = inTouch.webkitRadiusX || inTouch.radiusX || 0;
|
e.width = inTouch.radiusX || 0;
|
||||||
e.height = inTouch.webkitRadiusY || inTouch.radiusY || 0;
|
e.height = inTouch.radiusY || 0;
|
||||||
e.pressure = inTouch.webkitForce || inTouch.force || 0.5;
|
e.pressure = inTouch.force || 0.5;
|
||||||
e.isPrimary = this.isPrimaryTouch_(inTouch);
|
e.isPrimary = this.isPrimaryTouch_(inTouch);
|
||||||
e.pointerType = POINTER_TYPE;
|
e.pointerType = POINTER_TYPE;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user