mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-01 07:12:05 +03:00
Render tab bar tools as muted
This commit is contained in:
parent
9cb613245e
commit
bdb89d4700
@ -381,6 +381,7 @@ impl Pane {
|
||||
.child(
|
||||
IconButton::new("plus", Icon::Plus)
|
||||
.icon_size(IconSize::Small)
|
||||
.icon_color(Color::Muted)
|
||||
.on_click(cx.listener(|pane, _, cx| {
|
||||
let menu = ContextMenu::build(cx, |menu, _| {
|
||||
menu.action("New File", NewFile.boxed_clone())
|
||||
@ -402,6 +403,7 @@ impl Pane {
|
||||
.child(
|
||||
IconButton::new("split", Icon::Split)
|
||||
.icon_size(IconSize::Small)
|
||||
.icon_color(Color::Muted)
|
||||
.on_click(cx.listener(|pane, _, cx| {
|
||||
let menu = ContextMenu::build(cx, |menu, _| {
|
||||
menu.action("Split Right", SplitRight.boxed_clone())
|
||||
@ -422,6 +424,7 @@ impl Pane {
|
||||
let zoomed = pane.is_zoomed();
|
||||
IconButton::new("toggle_zoom", Icon::Maximize)
|
||||
.icon_size(IconSize::Small)
|
||||
.icon_color(Color::Muted)
|
||||
.selected(zoomed)
|
||||
.selected_icon(Icon::Minimize)
|
||||
.on_click(cx.listener(|pane, _, cx| {
|
||||
|
Loading…
Reference in New Issue
Block a user