button: regression in push mode (on value not passed to onValue script when triggered from another widget
This commit is contained in:
parent
74198c07d7
commit
6cbddbd2b6
2 changed files with 7 additions and 2 deletions
|
|
@ -1,11 +1,16 @@
|
|||
# Changelog
|
||||
|
||||
## 1.18.3
|
||||
|
||||
- bug fixes
|
||||
- button: regression in push mode (`on` value not passed to `onValue` script when triggered from another widget)
|
||||
|
||||
## 1.18.2
|
||||
|
||||
- bug fixes
|
||||
- canvas: `onTouch` not triggered on iOS when when `event.force`, `event.altitudeAngle` or `event.azimuthAngle` changes
|
||||
- switch: interaction issue when value labels contain icons
|
||||
- ios: attempt to fix rendering glitch when waking up after sleep
|
||||
- ios: attempt to fix rendering glitch when waking up after sleep
|
||||
|
||||
## 1.18.1
|
||||
|
||||
|
|
|
|||
|
|
@ -226,7 +226,7 @@ class Button extends Widget {
|
|||
return this.getProp(this.decoupledValue.value ? 'on' : 'off')
|
||||
}
|
||||
} else {
|
||||
return this.getProp(this.touchActive ? 'on' : 'off')
|
||||
return this.getProp(this.state ? 'on' : 'off')
|
||||
}
|
||||
case 'tap':
|
||||
if (this.localSet || !this.getProp('decoupled')) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue