Merge pull request #7348 from keymanapp/fix/android/spacebar-caption-reload-osk

fix(web): Update spacebar caption when refreshing layout
This commit is contained in:
Darcy Wong 2022-09-29 08:35:52 +07:00 committed by GitHub
commit 32b002cf23
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -499,6 +499,8 @@ namespace com.keyman.osk {
bs.width = bs.maxWidth = this.computedWidth + 'px';
bs.height = bs.maxHeight = this.computedHeight + 'px';
// Ensure that the layer's spacebar is properly captioned.
this.vkbd.showLanguage();
} else {
const bs = this._Box.style;
bs.width = 'auto';