mirror of
https://github.com/keymanapp/keyman.git
synced 2026-10-06 14:07:32 +00:00
fix(web): reverts prior commit, adds related docs
This commit is contained in:
parent
b9a47bfaf7
commit
a4b32705d8
1 changed files with 3 additions and 5 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue