On macOS, fix panic in current_monitor_inner
This commit is contained in:
parent
97d4c7b303
commit
8669c2e8df
3 changed files with 13 additions and 6 deletions
|
|
@ -242,7 +242,7 @@ declare_class!(
|
|||
// Otherwise, we must've reached fullscreen by the user clicking
|
||||
// on the green fullscreen button. Update state!
|
||||
None => {
|
||||
let current_monitor = Some(self.window.current_monitor_inner());
|
||||
let current_monitor = self.window.current_monitor_inner();
|
||||
shared_state.fullscreen = Some(Fullscreen::Borderless(current_monitor))
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue