fixed bug when disabling default features
This commit is contained in:
parent
eb37513a4b
commit
e5e50e5422
1 changed files with 1 additions and 1 deletions
|
@ -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<String>, 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<String>, clos
|
|||
tx_2.send(StateUpdate::ChangeSlide(SlideChange::NextHotkey).to_json().to_string()).unwrap();
|
||||
});
|
||||
|
||||
#[cfg(feature = "default")]
|
||||
inputbot::handle_input_events(close_flag);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue