ios: proper getter for ios touch event data
This commit is contained in:
parent
61a8968923
commit
3c0c2dd74d
1 changed files with 1 additions and 1 deletions
|
|
@ -48,7 +48,7 @@ module.exports = {
|
|||
for (var p of ['altitudeAngle', 'azimuthAngle', 'force']) {
|
||||
Object.defineProperty(ev, p, {
|
||||
enumerable: true,
|
||||
value: ()=>e[p]
|
||||
get: ()=>e[p]
|
||||
})
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue