fix(web): use fat-finger data with simple keypresses

Cherry-pick-of: #11854
This commit is contained in:
Joshua A. Horton 2024-06-24 08:55:09 +07:00
parent e1b74785bb
commit b45b6a5fd2

View file

@ -637,7 +637,7 @@ export default class VisualKeyboard extends EventEmitter<EventMap> implements Ke
try {
shouldLockLayer && this.lockLayer(true);
// Once the best coord to use for fat-finger calculations has been determined:
keyResult = this.modelKeyClick(gestureStage.item, coord);
keyResult = this.modelKeyClick(gestureStage.item, coord, correctionKeyDistribution);
} finally {
shouldLockLayer && this.lockLayer(false);
}