fix(web): reverts prior commit, adds related docs

This commit is contained in:
Joshua A. Horton 2022-07-06 12:56:09 +07:00
parent b9a47bfaf7
commit a4b32705d8

View file

@ -42,11 +42,9 @@ namespace com.keyman.text {
}
set(value: string) {
// No need to signal changes when things stay the same.
if(this._value == value) {
return;
}
// Even if things stay the same, we should still signal this.
// It's important for tracking if a rule directly set the layer
// versus if it passively remained.
if(this.handler) {
if(this.handler(this, value)) {
return;