gpui: Schedule a refresh right after launching app
This commit is contained in:
parent
2ee290727a
commit
f99f8d232a
1 changed files with 2 additions and 0 deletions
|
@ -509,6 +509,8 @@ impl AppContext {
|
|||
let root_view = build_root_view(&mut WindowContext::new(cx, &mut window));
|
||||
window.root_view.replace(root_view.into());
|
||||
cx.windows.get_mut(id).unwrap().replace(window);
|
||||
// Schedule a draw right after launching the window.
|
||||
cx.refresh();
|
||||
handle
|
||||
})
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue