git_ui: Git panel polish (#25164)
- Hides header when no active repo/no repo - Entire commit editor now has i-beam cursor on hover - Adds an icon to the project diff tab Release Notes: - N/A
This commit is contained in:
parent
c0c48d30db
commit
086f002f44
2 changed files with 22 additions and 13 deletions
|
@ -386,6 +386,10 @@ impl Focusable for ProjectDiff {
|
|||
impl Item for ProjectDiff {
|
||||
type Event = EditorEvent;
|
||||
|
||||
fn tab_icon(&self, _window: &Window, _cx: &App) -> Option<Icon> {
|
||||
Some(Icon::new(IconName::GitBranch).color(Color::Muted))
|
||||
}
|
||||
|
||||
fn to_item_events(event: &EditorEvent, f: impl FnMut(ItemEvent)) {
|
||||
Editor::to_item_events(event, f)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue