Don't rely on action propagation for zooming in and out
Co-Authored-By: Antonio Scandurra <antonio@zed.dev>
This commit is contained in:
parent
adf361b374
commit
f87ae6032e
6 changed files with 94 additions and 64 deletions
|
@ -3972,6 +3972,12 @@ impl Clone for AnyViewHandle {
|
|||
}
|
||||
}
|
||||
|
||||
impl PartialEq for AnyViewHandle {
|
||||
fn eq(&self, other: &Self) -> bool {
|
||||
self.window_id == other.window_id && self.view_id == other.view_id
|
||||
}
|
||||
}
|
||||
|
||||
impl<T> PartialEq<ViewHandle<T>> for AnyViewHandle {
|
||||
fn eq(&self, other: &ViewHandle<T>) -> bool {
|
||||
self.window_id == other.window_id && self.view_id == other.view_id
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue