mirror of
https://github.com/zed-industries/zed.git
synced 2024-11-10 05:37:29 +03:00
Fix typo in comment
This commit is contained in:
parent
fe2cb9f9ca
commit
0d0c85a5ee
@ -345,7 +345,7 @@ impl Pane {
|
||||
// We not only check whether our focus handle contains focus, but also
|
||||
// whether the active_item might have focus, because we might have just activated an item
|
||||
// but that hasn't rendered yet.
|
||||
// So before the next render, we might have transfered focus
|
||||
// So before the next render, we might have transferred focus
|
||||
// to the item and `focus_handle.contains_focus` returns false because the `active_item`
|
||||
// is not hooked up to us in the dispatch tree.
|
||||
self.focus_handle.contains_focused(cx)
|
||||
|
Loading…
Reference in New Issue
Block a user