From 09b9f3c1cbd93c75b2fe69257b278ad3f993adf4 Mon Sep 17 00:00:00 2001 From: HampusM Date: Sun, 24 Nov 2024 21:04:30 +0100 Subject: refactor(engine): remove 'debug' crate feature flag --- engine/src/input.rs | 3 --- 1 file changed, 3 deletions(-) (limited to 'engine/src/input.rs') 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 -- cgit v1.2.3-18-g5258