mirror of
https://github.com/keymanapp/keyman.git
synced 2026-08-11 11:25:34 +00:00
chore(common/models): Merge remote-tracking branch 'origin/fix/common/models/advanced-corrections' into fix/common/models/advanced-corrections
This commit is contained in:
commit
fdc3ef63e8
1 changed files with 1 additions and 6 deletions
|
|
@ -300,12 +300,7 @@ class ModelCompositor {
|
|||
if(!keepOption && keepOptionText != '') {
|
||||
// IMPORTANT: duplicate the original transform. Causes nasty side-effects
|
||||
// for context-tracking otherwise!
|
||||
let keepTransform: Transform = {
|
||||
insert: inputTransform.insert,
|
||||
deleteLeft: inputTransform.deleteLeft,
|
||||
deleteRight: inputTransform.deleteRight,
|
||||
id: inputTransform.id
|
||||
};
|
||||
let keepTransform: Transform = { ...inputTransform };
|
||||
|
||||
// 1 is a filler value; goes unused b/c is for a 'keep'.
|
||||
let keepSuggestion = models.transformToSuggestion(keepTransform, 1);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue