fix(web): restores code lost due to cherrypick rebase conflicts

This commit is contained in:
jahorton 2021-07-27 11:46:21 +07:00
parent 71f0b2c300
commit 1730ef6315

View file

@ -1022,6 +1022,12 @@ namespace com.keyman.osk {
layerChangeHandler: text.SystemStoreMutationHandler = function(this: VisualKeyboard,
source: text.MutableSystemStore,
newValue: string) {
// This handler is also triggered on state-key state changes (K_CAPS) that
// may not actually change the layer.
if(this) {
this._UpdateVKShiftStyle();
}
if(source.value != newValue) {
this.layerId = newValue;
let keyman = com.keyman.singleton;