Avoid losing focus when block decorations go offscreen (#14815)
Release Notes: - Fixed a bug that caused focus to be lost when renames and inline assists were scrolled offscreen. --------- Co-authored-by: Nathan <nathan@zed.dev>
This commit is contained in:
co-authored by
Nathan
parent
f5d50f2b1e
commit
d61eaea4b9
@@ -258,7 +258,9 @@ impl Render for ProjectIndexDebugView {
|
||||
list.prepaint_as_root(bounds.origin, bounds.size.into(), cx);
|
||||
list
|
||||
},
|
||||
|_, mut list, cx| list.paint(cx),
|
||||
|_, mut list, cx| {
|
||||
list.paint(cx);
|
||||
},
|
||||
)
|
||||
.size_full()
|
||||
.into_any_element()
|
||||
|
||||
Reference in New Issue
Block a user