Fix a few identity mixups in GPUI

co-authored-by: nathan <nathan@zed.dev>
This commit is contained in:
Mikayla 2023-11-21 17:11:38 -08:00
parent e557eb4afe
commit 469b05684f
No known key found for this signature in database
7 changed files with 84 additions and 44 deletions

View file

@ -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())