Preserve tooltips requested by cached views
Co-Authored-By: Nathan <nathan@zed.dev> Co-Authored-By: Max <max@zed.dev>
This commit is contained in:
co-authored by
Nathan
Max
parent
90f4c70a82
commit
69bbcba99a
@@ -1433,8 +1433,8 @@ impl Interactivity {
|
||||
.borrow()
|
||||
.as_ref()
|
||||
{
|
||||
if active_tooltip.tooltip.is_some() {
|
||||
cx.active_tooltip = active_tooltip.tooltip.clone()
|
||||
if let Some(tooltip) = active_tooltip.tooltip.clone() {
|
||||
cx.set_tooltip(tooltip);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user