Merge pull request #115 from GabrielMajeri/fix-example-close
Fix closing the examples through the close button
This commit is contained in:
commit
f161e2d967
|
@ -253,7 +253,7 @@ impl ExampleBase {
|
||||||
ControlFlow::Continue
|
ControlFlow::Continue
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
WindowEvent::Destroyed => winit::ControlFlow::Break,
|
WindowEvent::CloseRequested => winit::ControlFlow::Break,
|
||||||
_ => ControlFlow::Continue,
|
_ => ControlFlow::Continue,
|
||||||
},
|
},
|
||||||
_ => ControlFlow::Continue,
|
_ => ControlFlow::Continue,
|
||||||
|
|
Loading…
Reference in a new issue