Use active color for zoom button in a zoomed pane
This commit is contained in:
parent
893615236d
commit
3f6aa94a5f
3 changed files with 10 additions and 5 deletions
|
@ -70,6 +70,7 @@ impl TerminalPanel {
|
|||
.with_child(Pane::render_tab_bar_button(
|
||||
0,
|
||||
"icons/plus_12.svg",
|
||||
false,
|
||||
Some((
|
||||
"New Terminal".into(),
|
||||
Some(Box::new(workspace::NewTerminal)),
|
||||
|
@ -94,6 +95,7 @@ impl TerminalPanel {
|
|||
} else {
|
||||
"icons/maximize_8.svg"
|
||||
},
|
||||
pane.is_zoomed(),
|
||||
Some(("Toggle Zoom".into(), Some(Box::new(workspace::ToggleZoom)))),
|
||||
cx,
|
||||
move |pane, cx| pane.toggle_zoom(&Default::default(), cx),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue