Skip to content

Commit

Permalink
okie dokie
Browse files Browse the repository at this point in the history
  • Loading branch information
Thorin-Oakenpants authored Oct 13, 2024
1 parent 43542a7 commit 8363a95
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/pointerevent.html
Original file line number Diff line number Diff line change
Expand Up @@ -85,14 +85,15 @@
addEvent(type)

try {
let touch = event.changedTouches.item[0]
// these are all numbers
let aList = [
'force', // float 0.0 (no pressure) - 1.0 (max pressure)
'radiusX','radiusY'
]
let oDisplay = []
aList.forEach(function(k){
let value = event[k]
let value = touch[k]
//if ('number' !== typeof value) {
// value = 'err'
//} else if (Number.isNaN(value)) {
Expand Down

0 comments on commit 8363a95

Please sign in to comment.