Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
m1guelpf committed Aug 6, 2023
1 parent a72f2c3 commit a363421
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/window/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,6 @@ pub fn handler(event: GlobalWindowEvent) {
},
WindowEvent::Focused(is_focused) => {
if !is_focused {
#[cfg(not(debug_assertions))]
toggle(event.window()).unwrap();

if event.window().label() == MAIN {
main_window::on_close(event.window())
}
Expand Down

0 comments on commit a363421

Please sign in to comment.