Skip to content

Commit cd5a71d

Browse files
Apply suggestions from code review
Co-authored-by: Marc Durdin <[email protected]>
1 parent 2f19165 commit cd5a71d

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

web/src/app/webview/src/contextManager.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ export class ContextHost extends Mock {
3131
let transform: TextTransform = null;
3232

3333
if(transcription) {
34+
//TODO-web-core: shouldn't need cast in the future?
3435
const preInput = transcription.preInput as Mock;
3536
// If our saved state matches the `preInput` from the incoming transcription, just reuse its transform.
3637
// Will generally not match during multitap operations, though.

web/src/engine/keyboard/src/keyboards/ruleBehavior.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
/*
2+
* Keyman is copyright (C) SIL Global. MIT License.
3+
*/
14
import { LexicalModelTypes } from '@keymanapp/common-types';
25
import { Transcription } from './transcription.js';
36
import { VariableStore } from '../variableStore.js';

0 commit comments

Comments
 (0)