mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-25 19:29:49 +00:00
remove unnecessary Move branch in dispatch_events
This commit is contained in:
parent
345544646a
commit
aed085b168
1 changed files with 0 additions and 7 deletions
|
@ -447,13 +447,6 @@ impl Presenter {
|
|||
}
|
||||
}
|
||||
}
|
||||
MouseEvent::Move(_) => {
|
||||
for (mouse_region, _) in self.mouse_regions.iter().rev() {
|
||||
if mouse_region.bounds.contains_point(self.mouse_position) {
|
||||
valid_regions.push(mouse_region.clone());
|
||||
}
|
||||
}
|
||||
}
|
||||
_ => {
|
||||
for (mouse_region, _) in self.mouse_regions.iter().rev() {
|
||||
// Contains
|
||||
|
|
Loading…
Reference in a new issue