Skip to content

Commit 6c141a9

Browse files
tweak
1 parent 4074150 commit 6c141a9

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

tests/pointerevent.html

+6
Original file line numberDiff line numberDiff line change
@@ -305,6 +305,12 @@
305305
let fp = aArray
306306
if (1 == aSet.size) {aArray = Array.from(aSet); fp = aArray[0]}
307307
let str = aArray.join(' | ')
308+
// tweak the fp width/height for less entropy/stability (e.g touch)
309+
// but still show real values in display str
310+
if ('width' == k || 'height' == k) {
311+
if ('object' == typeof fp) {fp = 'mixed'}
312+
}
313+
308314
oDisplay.push(s6 + k.padStart(padlen) +": "+ sc + str)
309315
oTmpFP[k] = fp
310316
}

0 commit comments

Comments
 (0)