diff --git a/tests/pointerevent.html b/tests/pointerevent.html index 8cee266b..4b902baa 100644 --- a/tests/pointerevent.html +++ b/tests/pointerevent.html @@ -146,8 +146,12 @@ let aRemainder = ['force','radiusX','radiusY','rotationAngle'] aRemainder.forEach(function(k){ let value = oTemp[k] - oTouch[k] = value oDisplay.push(s6 + k.padStart(padlen) +": "+ sc + value) + // force is variable, so alter our hash to make it stable + if ('force' == k) { + if (0 !== value && 1 !== value) {value = 'variable'} + } + oTouch[k] = value }) dom.touch.innerHTML = oDisplay.join("
") + '

' let hash = mini(oTouch)