diff --git a/CHANGELOG.md b/CHANGELOG.md index 65cba26a..0eb2eea7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,9 +1,15 @@ # Changelog +## 1.29.5 + +- bug fixes + - keyboard: regression (1.27.5) breaking `velocity` property + + ## 1.29.4 - bug fixes - - regression (1.29.3) breaking some widget recreation routines + - regression (1.29.3) breaking some widget recreation routines ## 1.29.3 diff --git a/src/client/widgets/basics/button.js b/src/client/widgets/basics/button.js index 6f116cae..b14aeefc 100644 --- a/src/client/widgets/basics/button.js +++ b/src/client/widgets/basics/button.js @@ -99,7 +99,7 @@ class Button extends Widget { this.parsersLocalScope.touchCoords = [e.offsetX / this.buttonSize[0], 1 - e.offsetY / this.buttonSize[1]] } - this.setValue(this.getProp('on'), {sync: true, send: true, local:true}) + this.setValue(this.getProp('on'), {sync: true, send: true, local:true, y: e.offsetY}) if (tap) this.container.classList.add('active') @@ -117,7 +117,7 @@ class Button extends Widget { this.parsersLocalScope.touchCoords = [e.offsetX / this.buttonSize[0], 1 - e.offsetY / this.buttonSize[1]] } - this.setValue(this.getProp('on'), {sync: true, send: true, local:true}) + this.setValue(this.getProp('on'), {sync: true, send: true, local:true, y: e.offsetY}) if (tap) this.container.classList.add('active')