WIP: Allow panels to be moved
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
This commit is contained in:
parent
45df09245b
commit
8f12489937
6 changed files with 157 additions and 92 deletions
|
@ -139,7 +139,7 @@ impl Panel for TerminalPanel {
|
|||
matches!(event, Event::Close)
|
||||
}
|
||||
|
||||
fn label(&self, cx: &AppContext) -> Option<String> {
|
||||
fn icon_label(&self, cx: &AppContext) -> Option<String> {
|
||||
let count = self.pane.read(cx).items_len();
|
||||
if count == 0 {
|
||||
None
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue