mirror of
https://github.com/zed-industries/zed.git
synced 2025-02-10 20:29:05 +00:00
Previously, this was used because we didn't have access to the current view and `EventContext` was an element-only abstraction. Now that the `EventContext` wraps the current view's `ViewContext` we can simply check for the view's focus and avoid querying ancestors. |
||
---|---|---|
.. | ||
persistence.rs | ||
terminal_button.rs | ||
terminal_element.rs | ||
terminal_view.rs |