Fix seg fault when using the WindowContext::on_window_should_close() API
This commit is contained in:
parent
2a09c6aad5
commit
7ef88397c9
5 changed files with 13 additions and 6 deletions
|
@ -111,7 +111,6 @@ fn notification_window_options(
|
|||
let screen_bounds = screen.bounds();
|
||||
let size: Size<GlobalPixels> = window_size.into();
|
||||
|
||||
// todo!() use content bounds instead of screen.bounds and get rid of magics in point's 2nd argument.
|
||||
let bounds = gpui::Bounds::<GlobalPixels> {
|
||||
origin: screen_bounds.upper_right()
|
||||
- point(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue