A few more stylistic changes

This commit is contained in:
Jonathan Kelley committed 2024-01-04 20:41:48 -08:00
1 parent 4d95bc1374
commit 42e25c407f
6 files changed
+26 -37

No files matched your search

+2 -2
View File
@@ -97,8 +97,8 @@ pub fn launch_with_props<P: 'static>(root: Component<P>, props: P, cfg: Config)
pub fn launch_with_props_blocking<P: 'static>(root: Component<P>, props: P, cfg: Config) {
let (event_loop, mut app) = App::new(cfg, props, root);
event_loop.run(move |window_event, event_loop, control_flow| {
app.tick(&window_event, event_loop);
event_loop.run(move |window_event, _, control_flow| {
app.tick(&window_event);
match window_event {
Event::NewEvents(StartCause::Init) => app.handle_start_cause_init(),