mirror of
https://github.com/keymanapp/keyman.git
synced 2026-09-24 08:37:42 +00:00
chore(web): Merge branch 'feat/web/subkey-corrections' into refactor/web/banner-gesture-integration
This commit is contained in:
commit
dd178358aa
4 changed files with 4 additions and 4 deletions
|
|
@ -367,7 +367,7 @@ export default class SubkeyPopup implements GestureHandler {
|
|||
}
|
||||
}
|
||||
|
||||
currentStageKeyDistances(): KeyDistribution {
|
||||
currentStageKeyDistribution(): KeyDistribution {
|
||||
const latestStage = this.source.stageReports[this.source.stageReports.length-1];
|
||||
const baseStage = this.source.stageReports[0];
|
||||
const gestureSource = latestStage.sources[0];
|
||||
|
|
|
|||
|
|
@ -12,5 +12,5 @@ export interface GestureHandler {
|
|||
*/
|
||||
readonly hasModalVisualization: boolean;
|
||||
|
||||
currentStageKeyDistances(): KeyDistribution;
|
||||
currentStageKeyDistribution(): KeyDistribution;
|
||||
}
|
||||
|
|
@ -37,7 +37,7 @@ export class HeldRepeater implements GestureHandler {
|
|||
this.timerHandle = window.setTimeout(this.deleteRepeater, HeldRepeater.REPEAT_DELAY);
|
||||
}
|
||||
|
||||
currentStageKeyDistances(): KeyDistribution {
|
||||
currentStageKeyDistribution(): KeyDistribution {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
|
@ -486,7 +486,7 @@ export default class VisualKeyboard extends EventEmitter<EventMap> implements Ke
|
|||
throw new Error("Invalid state - reference to subkey menu is missing");
|
||||
}
|
||||
// TODO: examine subkey menu, determine proper set of fat-finger alternates.
|
||||
correctionKeyDistribution = handler.currentStageKeyDistances();
|
||||
correctionKeyDistribution = handler.currentStageKeyDistribution();
|
||||
}
|
||||
|
||||
if(!correctionKeyDistribution) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue