We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bfcde40 commit a31f1c8Copy full SHA for a31f1c8
crates/lambda-rs/src/runtimes/application.rs
@@ -320,13 +320,9 @@ impl Runtime for ApplicationRuntime {
320
current_frame = Instant::now();
321
let duration = ¤t_frame.duration_since(last_frame);
322
323
- // Update and render commands.
324
- for component in &mut component_stack {
325
- component.on_update(duration);
326
- }
327
-
328
let active_render_context = active_render_context.as_mut().expect("Couldn't get the active render context. ");
329
for component in &mut component_stack {
+ component.on_update(duration);
330
let commands = component.on_render(active_render_context);
331
active_render_context.render(commands);
332
}
0 commit comments