From 37644f982ed30b713e1e40bc5d5fa6dd5b86f260 Mon Sep 17 00:00:00 2001 From: Benjamin Klum Date: Sat, 28 Dec 2024 20:30:15 +0100 Subject: [PATCH] Fix clippy warning --- base/src/mouse/enigo.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/base/src/mouse/enigo.rs b/base/src/mouse/enigo.rs index 504931ef1..41c699f1b 100644 --- a/base/src/mouse/enigo.rs +++ b/base/src/mouse/enigo.rs @@ -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)] @@ -34,7 +33,7 @@ fn create_device_state() -> Option { 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 } }