mirror of
https://github.com/zed-industries/zed.git
synced 2026-05-31 19:05:00 +07:00
editor: Extract header and mouse out of element.rs (#57472)
cc @SomeoneToIgnore ## Summary Follow-up to [this comment](https://github.com/zed-industries/zed/discussions/55352#discussioncomment-16961889). This extracts the buffer header and breadcrumb rendering helpers out of `element.rs` into a `header.rs` and mouse related things to `mouse.rs` Self-Review Checklist: - [x] I've reviewed my own diff for quality, security, and reliability - [x] Unsafe blocks (if any) have justifying comments - [x] The content is consistent with the [UI/UX checklist](https://github.com/zed-industries/zed/blob/main/CONTRIBUTING.md#uiux-checklist) - [x] Tests cover the new/changed behavior - [x] Performance impact has been considered and is acceptable Release Notes: - N/A
This commit is contained in:
parent
da87558cc2
commit
85f8bf7393
3 changed files with 2291 additions and 2228 deletions
File diff suppressed because it is too large
Load diff
1055
crates/editor/src/element/header.rs
Normal file
1055
crates/editor/src/element/header.rs
Normal file
File diff suppressed because it is too large
Load diff
1187
crates/editor/src/element/mouse.rs
Normal file
1187
crates/editor/src/element/mouse.rs
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue