Fix a few identity mixups in GPUI
co-authored-by: nathan <nathan@zed.dev>
This commit is contained in:
parent
e557eb4afe
commit
469b05684f
7 changed files with 84 additions and 44 deletions
|
@ -1350,7 +1350,7 @@ impl Pane {
|
|||
let id = item.item_id();
|
||||
|
||||
div()
|
||||
.id(item.item_id())
|
||||
.id(ix)
|
||||
.invisible()
|
||||
.group_hover("", |style| style.visible())
|
||||
.child(
|
||||
|
@ -1382,7 +1382,7 @@ impl Pane {
|
|||
|
||||
div()
|
||||
.group("")
|
||||
.id(item.item_id())
|
||||
.id(ix)
|
||||
.cursor_pointer()
|
||||
.when_some(item.tab_tooltip_text(cx), |div, text| {
|
||||
div.tooltip(move |cx| cx.build_view(|cx| Tooltip::new(text.clone())).into())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue