Skip to content

Commit

Permalink
try window_input again
Browse files Browse the repository at this point in the history
  • Loading branch information
trevyn committed Aug 7, 2024
1 parent 73d78e1 commit bb2dcd4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/app.rs
Original file line number Diff line number Diff line change
Expand Up @@ -116,9 +116,9 @@ impl GlassApp for FluidSimApp {
if let winit::event::DeviceEvent::MouseMotion { delta } = _event {
self.num_device_inputs += 1;

self.fluid_sim
.fluid_scene
.drag(Vec2::new(delta.0 as f32, -delta.1 as f32 - 400.), false);
// self.fluid_sim
// .fluid_scene
// .drag(Vec2::new(delta.0 as f32, -delta.1 as f32 - 400.), false);
}
}

Expand All @@ -144,7 +144,7 @@ impl GlassApp for FluidSimApp {
&self.fluid_sim.camera,
);

// self.fluid_sim.fluid_scene.drag(pos, false);
self.fluid_sim.fluid_scene.drag(pos, false);
}
}
// fn input(
Expand Down

0 comments on commit bb2dcd4

Please sign in to comment.