summaryrefslogtreecommitdiff
path: root/engine/src/input.rs
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2024-11-24 21:04:30 +0100
committerHampusM <hampus@hampusmat.com>2024-11-24 21:04:30 +0100
commit09b9f3c1cbd93c75b2fe69257b278ad3f993adf4 (patch)
tree8de3ad13c46ec6856e81dc75c047facc11c747c2 /engine/src/input.rs
parentb233ff766a2e399a0a48a98e1f2121e960254950 (diff)
refactor(engine): remove 'debug' crate feature flag
Diffstat (limited to 'engine/src/input.rs')
-rw-r--r--engine/src/input.rs3
1 files changed, 0 insertions, 3 deletions
diff --git a/engine/src/input.rs b/engine/src/input.rs
index f4166f6..04e5263 100644
--- a/engine/src/input.rs
+++ b/engine/src/input.rs
@@ -194,7 +194,6 @@ fn initialize(
let cursor_flags_weak_ref = cursor_flags.to_weak_ref();
window.set_focus_callback(move |is_focused| {
- #[cfg(feature = "debug")]
tracing::trace!("Window is focused: {is_focused}");
let cursor_flags_ref = cursor_flags_weak_ref.access().expect("No world");
@@ -209,7 +208,6 @@ fn maybe_clear_cursor_is_first_move(
)
{
if cursor_flags.is_first_move.pending_clear {
- #[cfg(feature = "debug")]
tracing::trace!("Clearing is_first_move");
// This flag was set for the whole previous tick so it can be cleared now
@@ -219,7 +217,6 @@ fn maybe_clear_cursor_is_first_move(
}
if cursor.has_moved && cursor_flags.is_first_move.flag {
- #[cfg(feature = "debug")]
tracing::trace!("Setting flag to clear is_first_move next tick");
// Make this system clear is_first_move the next time it runs