Remove dispatch_event from Element trait

This commit is contained in:
Nathan Sobo 2022-10-16 13:08:25 -06:00
parent d25c6b15a6
commit 12eab6551f
26 changed files with 288 additions and 736 deletions

View file

@ -798,18 +798,6 @@ impl Element for TerminalElement {
});
}
fn dispatch_event(
&mut self,
_: &gpui::Event,
_bounds: gpui::geometry::rect::RectF,
_visible_bounds: gpui::geometry::rect::RectF,
_layout: &mut Self::LayoutState,
_paint: &mut Self::PaintState,
_: &mut gpui::EventContext,
) -> bool {
false
}
fn metadata(&self) -> Option<&dyn std::any::Any> {
None
}