keyboard: regression (1.27.5) breaking velocity property
This commit is contained in:
parent
296ba343c4
commit
e7ffec8c03
2 changed files with 9 additions and 3 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -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')
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue