fix: Shift and Space combine, and a held Shift doesn't freeze the press
This commit is contained in:
1 parent
4de96f5018
commit
6dfa418f8c
2 files changed
+52
-6
No files matched your search
+1
-2
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user