canvas: expose touch pressure (as event.force) in the touch script.
This commit is contained in:
parent
cb68a80309
commit
447729443f
3 changed files with 9 additions and 1 deletions
|
|
@ -28,7 +28,9 @@ module.exports = {
|
|||
traversing: e.traversing,
|
||||
traversingStack: e.traversingStack,
|
||||
multitouch: e.multitouch,
|
||||
isTouch: e instanceof Touch
|
||||
isTouch: e instanceof Touch,
|
||||
force: e.webkitForce || e.force || 0
|
||||
|
||||
}
|
||||
},
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue