Skip to content

Commit e76936f

Browse files
committed
fix(web): Revert buildEmbeddedGestureConfig
Per review comments
1 parent d1c12c4 commit e76936f

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

web/src/app/webview/src/keymanEngine.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ export default class KeymanEngine extends KeymanEngineBase<WebviewConfiguration,
6969
pathConfig: this.config.paths,
7070
// When hosted in a WebView, we never hide the Web OSK without hiding the hosting WebView.
7171
activator: new StaticActivator(),
72+
embeddedGestureConfig: buildEmbeddedGestureConfig(this.config.softDevice),
7273
doCacheBusting: true,
7374
predictionContextManager: this.contextManager.predictionContext,
7475
heightOverride: this.getOskHeight,

web/src/app/webview/src/oskConfiguration.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,4 +44,6 @@ export function buildEmbeddedGestureConfig(device: DeviceSpec) {
4444
return new GlobeHint(vkbd);
4545
}
4646
}
47+
48+
return embeddedGestureConfig;
4749
};

0 commit comments

Comments
 (0)