fix(desktop): resolve Ctrl+Alt+Enter accept drops and duplicate typo LLM checks
This commit is contained in:
parent
2a62f2496a
commit
02d0d0c6c1
15 changed files with 238 additions and 19 deletions
|
|
@ -379,7 +379,6 @@ export class ChordStateMachine {
|
|||
): void {
|
||||
if (eventKey !== null && this._isDown.has(eventKey)) {
|
||||
this._release(eventKey)
|
||||
return
|
||||
}
|
||||
const released = toReleasedComponent(component)
|
||||
if (released === null) return
|
||||
|
|
@ -391,7 +390,6 @@ export class ChordStateMachine {
|
|||
if (first === undefined) continue
|
||||
if (isChordComponentOf(released, first.binding)) {
|
||||
matches.push(key)
|
||||
if (released.device === 'keyboard') break
|
||||
}
|
||||
}
|
||||
for (const key of matches) this._release(key)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue