fix: Shift and Space combine, and a held Shift doesn't freeze the press

This commit is contained in:
elwrcl committed 2026-10-03 02:46:53 +03:00
1 parent 4de96f5018
commit 6dfa418f8c
2 files changed
+52 -6

No files matched your search

+1 -2
View File
@@ -309,9 +309,8 @@ impl Overlay {
PointerEventKind::Press {
button: BTN_LEFT, ..
} => {
self.selection.press(p);
// Modifiers already held apply from the start.
self.selection.set_mods(self.mods);
self.selection.press_with(p, self.mods);
self.anchor = Some(i);
}
PointerEventKind::Press {