Don't try to handle errors when opening platform windows
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
This commit is contained in:
co-authored by
Nathan Sobo
parent
86c0f41c9e
commit
d4436f3018
@@ -56,8 +56,8 @@ impl super::Platform for Platform {
|
||||
_: usize,
|
||||
options: super::WindowOptions,
|
||||
_executor: Rc<super::executor::Foreground>,
|
||||
) -> anyhow::Result<Box<dyn super::Window>> {
|
||||
Ok(Box::new(Window::new(options.bounds.size())))
|
||||
) -> Box<dyn super::Window> {
|
||||
Box::new(Window::new(options.bounds.size()))
|
||||
}
|
||||
|
||||
fn key_window_id(&self) -> Option<usize> {
|
||||
|
||||
Reference in New Issue
Block a user