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:
Jeevitha Kannan K S 2024-11-30 18:01:43 +05:30
parent ab7a67087d
commit 468ba6e34d
No known key found for this signature in database
GPG Key ID: 5904C34A2F7CE333
2 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@ mod floating_text;
mod hint;
mod root;
mod running_command;
pub mod state;
mod state;
mod theme;
#[cfg(feature = "tips")]

View File

@ -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);