fix deoptValue binding boolean - fixes #1687
This commit is contained in:
parent
acbc4859c0
commit
365e221d95
@ -20,7 +20,7 @@ export default class Binding {
|
||||
|
||||
deoptValue() {
|
||||
this.clearValue();
|
||||
this.deoptValue = true;
|
||||
this.hasDeoptedValue = true;
|
||||
}
|
||||
|
||||
/**
|
||||
@ -28,7 +28,7 @@ export default class Binding {
|
||||
*/
|
||||
|
||||
setValue(value) {
|
||||
if (this.deoptValue) return;
|
||||
if (this.hasDeoptedValue) return;
|
||||
this.hasValue = true;
|
||||
this.value = value;
|
||||
}
|
||||
@ -38,9 +38,9 @@ export default class Binding {
|
||||
*/
|
||||
|
||||
clearValue() {
|
||||
this.deoptValue = false;
|
||||
this.hasValue = false;
|
||||
this.value = null;
|
||||
this.hasDeoptedValue = false;
|
||||
this.hasValue = false;
|
||||
this.value = null;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user