From e5e50e542241726e52f8e8b88f5bac5601d07b37 Mon Sep 17 00:00:00 2001 From: Nickiel12 <35903114+Nickiel12@users.noreply.github.com> Date: Sat, 16 Jul 2022 19:15:02 -0700 Subject: [PATCH] fixed bug when disabling default features --- src/modules/external_interface.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/external_interface.rs b/src/modules/external_interface.rs index 1ad1c15..ab37c41 100644 --- a/src/modules/external_interface.rs +++ b/src/modules/external_interface.rs @@ -17,7 +17,6 @@ pub const OPTIONS_PATH: &str = "./options.json"; pub const OPTIONS_PATH: &str = "./options.json"; */ -#[cfg(feature = "default")] pub fn create_keyboard_hooks(channel_tx: crossbeam_channel::Sender, close_flag: workctl::sync_flag::SyncFlagRx) { let tx_1 = channel_tx.clone(); @@ -30,6 +29,7 @@ pub fn create_keyboard_hooks(channel_tx: crossbeam_channel::Sender, clos tx_2.send(StateUpdate::ChangeSlide(SlideChange::NextHotkey).to_json().to_string()).unwrap(); }); + #[cfg(feature = "default")] inputbot::handle_input_events(close_flag); }