Skip to content

Commit

Permalink
address review comments: fixed new file dates, cleaned dead code
Browse files Browse the repository at this point in the history
Signed-off-by: Reuben Thomas <[email protected]>
  • Loading branch information
reuben-thomas committed Jun 19, 2024
1 parent bbd6eb4 commit f4429a9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion rmf_site_editor/src/interaction/camera_controls/cursor.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2022 Open Source Robotics Foundation
* Copyright (C) 2024 Open Source Robotics Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
6 changes: 1 addition & 5 deletions rmf_site_editor/src/interaction/camera_controls/keyboard.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2022 Open Source Robotics Foundation
* Copyright (C) 2024 Open Source Robotics Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -116,10 +116,6 @@ pub fn update_keyboard_command(
if keyboard_input.pressed(KeyCode::M) {
target_zoom_motion += 1.0;
}
// Temporarily use M, N as zoom keys since +-, <>, [] cannot be detected with shift
// keyboard_input.get_pressed().for_each(|key| {
// println!("Pressed key: {:?}", key);
// });

// Smooth and normalize keyboard
let delta_seconds = time.delta_seconds();
Expand Down

0 comments on commit f4429a9

Please sign in to comment.