widgets: regression incurring a small delay before resolving a property that depends on a widget's own value (see fe682693b1)
This commit is contained in:
parent
22927983b8
commit
0e54c11f13
2 changed files with 2 additions and 1 deletions
|
|
@ -4,6 +4,7 @@
|
|||
|
||||
- bug fixes
|
||||
- launcher: `Ctrl+M` keyboard shortcut not working
|
||||
- widgets: regression incurring a small delay before resolving a property that depends on a widget's own value
|
||||
|
||||
- advanced syntaxes
|
||||
- support `@{}` inside `IMPORT{}`
|
||||
|
|
|
|||
|
|
@ -489,7 +489,7 @@ class Widget extends EventEmitter {
|
|||
if (!this.linkedValueChangedCallback && Object.keys(this.linkedPropsValue).length) {
|
||||
|
||||
this.linkedValueChangedCallback = (e)=>{
|
||||
if (this.isValueChanging) {
|
||||
if (this.isValueChanging && e.widget !== this) {
|
||||
clearTimeout(this.valueChangingTimeout)
|
||||
this.valueChangingTimeout = setTimeout(()=>{
|
||||
if (!this.removed) this.onLinkedPropsChanged(e, 'value-changed')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue