mirror of
https://github.com/ChrisTitusTech/linutil.git
synced 2024-12-25 12:59:45 +00:00
Fix unused float handle mouse function, pub mod appstate
Fix unnecessary usage of pub mod for appstate and resolve unused float handle mouse function
This commit is contained in:
parent
ab7a67087d
commit
468ba6e34d
|
@ -5,7 +5,7 @@ mod floating_text;
|
|||
mod hint;
|
||||
mod root;
|
||||
mod running_command;
|
||||
pub mod state;
|
||||
mod state;
|
||||
mod theme;
|
||||
|
||||
#[cfg(feature = "tips")]
|
||||
|
|
|
@ -480,7 +480,7 @@ impl AppState {
|
|||
}
|
||||
match &mut self.focus {
|
||||
Focus::FloatingWindow(float) => {
|
||||
float.content.handle_mouse_event(event);
|
||||
float.handle_mouse_event(event);
|
||||
}
|
||||
Focus::ConfirmationPrompt(confirm) => {
|
||||
confirm.content.handle_mouse_event(event);
|
||||
|
|
Loading…
Reference in New Issue
Block a user