fix floating window selection issue

macos-click-through
Keith Simmons 3 years ago
parent 2e32ff9cd0
commit 124bf32a86

@ -219,7 +219,12 @@ impl MouseManager {
.ok(); .ok();
} }
self.dragging = Some(button_text);
if down {
self.dragging = Some(button_text);
} else {
self.dragging = None;
}
if self.dragging.is_none() { if self.dragging.is_none() {
self.has_moved = false; self.has_moved = false;

Loading…
Cancel
Save