Skip to content

Commit

Permalink
pass raw time to bevy_egui
Browse files Browse the repository at this point in the history
  • Loading branch information
jakobhellermann committed Feb 24, 2023
1 parent 65f3750 commit caa3296
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/systems.rs
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ pub fn process_input_system(
}

for egui_input in input_resources.egui_input.values_mut() {
egui_input.predicted_dt = time.delta_seconds();
egui_input.predicted_dt = time.raw_delta_seconds();
}

// In some cases, we may skip certain events. For example, we ignore `ReceivedCharacter` events
Expand Down

0 comments on commit caa3296

Please sign in to comment.