Take a target view when marking an element as draggable
This commit is contained in:
parent
b0cbd13e7a
commit
5b40641fde
12 changed files with 86 additions and 36 deletions
|
@ -546,12 +546,12 @@ impl Item for TerminalView {
|
|||
Some(self.terminal().read(cx).title().into())
|
||||
}
|
||||
|
||||
fn tab_content(
|
||||
fn tab_content<T: View>(
|
||||
&self,
|
||||
_detail: Option<usize>,
|
||||
tab_theme: &theme::Tab,
|
||||
cx: &gpui::AppContext,
|
||||
) -> Element<Pane> {
|
||||
) -> Element<T> {
|
||||
let title = self.terminal().read(cx).title();
|
||||
|
||||
Flex::row()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue