From a4b32705d87b071b394400a3fc43189dc79cbbf8 Mon Sep 17 00:00:00 2001 From: "Joshua A. Horton" Date: Wed, 6 Jul 2022 12:56:09 +0700 Subject: [PATCH] fix(web): reverts prior commit, adds related docs --- common/web/keyboard-processor/src/text/systemStores.ts | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/common/web/keyboard-processor/src/text/systemStores.ts b/common/web/keyboard-processor/src/text/systemStores.ts index eb83b391af..00be331b72 100644 --- a/common/web/keyboard-processor/src/text/systemStores.ts +++ b/common/web/keyboard-processor/src/text/systemStores.ts @@ -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;