mirror of
https://github.com/keymanapp/keyman.git
synced 2026-09-11 18:17:42 +00:00
fix(web): set(layer) should not trigger for hardware keystrokes
This commit is contained in:
parent
9ffca15f64
commit
0596ef15b8
1 changed files with 2 additions and 1 deletions
|
|
@ -882,7 +882,8 @@ namespace com.keyman.text {
|
|||
*/
|
||||
setStore(systemId: number, strValue: string, outputTarget: OutputTarget): boolean {
|
||||
this.resetContextCache();
|
||||
if(systemId == KeyboardInterface.TSS_LAYER) {
|
||||
// Unique case: we only allow set-store ops from keyboard rules triggered by touch OSKs.
|
||||
if(systemId == KeyboardInterface.TSS_LAYER && this.activeDevice.touchable) {
|
||||
// Denote the changed store as part of the matched rule's behavior.
|
||||
this.ruleBehavior.setStore[systemId] = strValue;
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue