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
|
|
@ -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