Skip to content

Commit

Permalink
try
Browse files Browse the repository at this point in the history
  • Loading branch information
boralg committed Jun 26, 2024
1 parent d9be612 commit df2a76b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/src/mandelbrot/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ fn render(display: &mut Display, state: &mut MandelbrotState) {
state.interaction_state = match state.interaction_state.clone() {
InteractionState::PanningIdle { pressed_down_at, pre_tap } => {
log::info!("{} {}", now_secs(), pressed_down_at);
if now_secs() - pressed_down_at > 0.3f32 {
if now_secs() - pressed_down_at > 1f32 {
log::info!("zooming {}", now_secs());
InteractionState::Zooming
} else {
Expand Down

0 comments on commit df2a76b

Please sign in to comment.