fix tests
This commit is contained in:
parent
5760fad8ce
commit
98fc52f438
1 changed files with 2 additions and 0 deletions
|
@ -268,12 +268,14 @@ impl KeystrokeInput {
|
|||
if self.search {
|
||||
if self.previous_modifiers.modified() {
|
||||
last.modifiers |= event.modifiers;
|
||||
last.inner.modifiers |= event.modifiers;
|
||||
} else {
|
||||
self.keystrokes.push(Self::dummy(event.modifiers));
|
||||
}
|
||||
self.previous_modifiers |= event.modifiers;
|
||||
} else {
|
||||
last.modifiers = event.modifiers;
|
||||
last.inner.modifiers = event.modifiers;
|
||||
return;
|
||||
}
|
||||
} else if keystrokes_len < Self::KEYSTROKE_COUNT_MAX {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue