Style fold control
This commit is contained in:
1 parent
4cb0f60779
commit
e71f2b49e8
1 file changed
+3
-3
@@ -939,11 +939,11 @@ impl EditorElement {
|
||||
cx,
|
||||
|fold_element_state, cx| {
|
||||
if fold_element_state.is_active() {
|
||||
gpui::blue()
|
||||
cx.theme().colors().ghost_element_active
|
||||
} else if fold_bounds.contains(&cx.mouse_position()) {
|
||||
gpui::black()
|
||||
cx.theme().colors().ghost_element_hover
|
||||
} else {
|
||||
gpui::red()
|
||||
cx.theme().colors().ghost_element_background
|
||||
}
|
||||
},
|
||||
)
|
||||
|
||||
Reference in new issue
Block a user