reduce spam

This commit is contained in:
galister
2024-02-01 19:58:23 +01:00
parent 832e5a7ecb
commit c9ac5f5bb3
2 changed files with 4 additions and 2 deletions

View File

@@ -30,6 +30,7 @@ impl PlayspaceMover {
let pointer = &state.input_state.pointers[hand];
if !pointer.now.space_drag {
self.drag_hand = None;
log::info!("End space drag");
return;
}
@@ -48,6 +49,7 @@ impl PlayspaceMover {
if pointer.now.space_drag {
self.drag_hand = Some(i);
self.start_position = pointer.pose.translation;
log::info!("Start space drag");
break;
}
}