chore(web): Merge branch 'feat/web/subkey-corrections' into refactor/web/banner-gesture-integration

This commit is contained in:
Joshua A. Horton 2023-10-18 14:32:58 +07:00
commit dd178358aa
4 changed files with 4 additions and 4 deletions

View file

@ -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];

View file

@ -12,5 +12,5 @@ export interface GestureHandler {
*/
readonly hasModalVisualization: boolean;
currentStageKeyDistances(): KeyDistribution;
currentStageKeyDistribution(): KeyDistribution;
}

View file

@ -37,7 +37,7 @@ export class HeldRepeater implements GestureHandler {
this.timerHandle = window.setTimeout(this.deleteRepeater, HeldRepeater.REPEAT_DELAY);
}
currentStageKeyDistances(): KeyDistribution {
currentStageKeyDistribution(): KeyDistribution {
return null;
}
}

View file

@ -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) {