Skip to content

Commit

Permalink
Revert "Make InputState::predicted_dt more accurate"
Browse files Browse the repository at this point in the history
This reverts commit 43a18d4.
  • Loading branch information
emilk committed Jul 5, 2024
1 parent 56fdc3a commit 9d75b4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/egui/src/input_state.rs
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@ impl InputState {
max_texture_side: new.max_texture_side.unwrap_or(self.max_texture_side),
time,
unstable_dt,
predicted_dt: new.predicted_dt.min(stable_dt),
predicted_dt: new.predicted_dt,
stable_dt,
focused: new.focused,
modifiers: new.modifiers,
Expand Down

0 comments on commit 9d75b4f

Please sign in to comment.