Skip to content

Commit

Permalink
Fix clippy warning
Browse files Browse the repository at this point in the history
  • Loading branch information
helgoboss committed Dec 28, 2024
1 parent c4dd9ff commit 37644f9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions base/src/mouse/enigo.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ use crate::{Mouse, MouseCursorPosition};
use device_query::DeviceState;
use enigo::{Enigo, MouseControllable};
use helgobox_api::persistence::{Axis, MouseButton};
use reaper_high::Reaper;
use std::fmt::Debug;

#[derive(Debug)]
Expand Down Expand Up @@ -34,7 +33,7 @@ fn create_device_state() -> Option<DeviceState> {
if trusted {
Some(DeviceState::new())
} else {
Reaper::get().show_console_msg("This Helgobox feature only works if Helgobox can access the state of your mouse. For this, it needs macOS accessibility permissions. Please grant REAPER the accessibility permission in the macOS system settings and restart it!\n\n");
reaper_high::Reaper::get().show_console_msg("This Helgobox feature only works if Helgobox can access the state of your mouse. For this, it needs macOS accessibility permissions. Please grant REAPER the accessibility permission in the macOS system settings and restart it!\n\n");
None
}
}
Expand Down

0 comments on commit 37644f9

Please sign in to comment.