From 47bcb305af2e0a533f20b61cba98dfa5b1beb997 Mon Sep 17 00:00:00 2001 From: Jason Lee Date: Thu, 29 Feb 2024 19:27:56 +0800 Subject: [PATCH] Use `Pointer` cursor style on Recent Projects, VCS Menu. (#8595) Release Notes: - Improved to use `Pointer` style cursor on VCS and Recent Projects menu. https://github.com/zed-industries/zed/assets/5518/4f638c6a-00b8-4fa8-b469-4d3109827bc2 --- crates/recent_projects/src/recent_projects.rs | 1 + crates/vcs_menu/src/lib.rs | 1 + 2 files changed, 2 insertions(+) diff --git a/crates/recent_projects/src/recent_projects.rs b/crates/recent_projects/src/recent_projects.rs index e3880d4525..ef3451b970 100644 --- a/crates/recent_projects/src/recent_projects.rs +++ b/crates/recent_projects/src/recent_projects.rs @@ -111,6 +111,7 @@ impl Render for RecentProjects { fn render(&mut self, cx: &mut ViewContext) -> impl IntoElement { v_flex() .w(rems(self.rem_width)) + .cursor_pointer() .child(self.picker.clone()) .on_mouse_down_out(cx.listener(|this, _, cx| { this.picker.update(cx, |this, cx| { diff --git a/crates/vcs_menu/src/lib.rs b/crates/vcs_menu/src/lib.rs index 55cfcda944..d193efa18d 100644 --- a/crates/vcs_menu/src/lib.rs +++ b/crates/vcs_menu/src/lib.rs @@ -67,6 +67,7 @@ impl Render for BranchList { fn render(&mut self, cx: &mut ViewContext) -> impl IntoElement { v_flex() .w(rems(self.rem_width)) + .cursor_pointer() .child(self.picker.clone()) .on_mouse_down_out(cx.listener(|this, _, cx| { this.picker.update(cx, |this, cx| {