mirror of
https://github.com/ChrisTitusTech/linutil.git
synced 2024-12-26 05:19:44 +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 hint;
|
||||||
mod root;
|
mod root;
|
||||||
mod running_command;
|
mod running_command;
|
||||||
pub mod state;
|
mod state;
|
||||||
mod theme;
|
mod theme;
|
||||||
|
|
||||||
#[cfg(feature = "tips")]
|
#[cfg(feature = "tips")]
|
||||||
|
|
|
@ -480,7 +480,7 @@ impl AppState {
|
||||||
}
|
}
|
||||||
match &mut self.focus {
|
match &mut self.focus {
|
||||||
Focus::FloatingWindow(float) => {
|
Focus::FloatingWindow(float) => {
|
||||||
float.content.handle_mouse_event(event);
|
float.handle_mouse_event(event);
|
||||||
}
|
}
|
||||||
Focus::ConfirmationPrompt(confirm) => {
|
Focus::ConfirmationPrompt(confirm) => {
|
||||||
confirm.content.handle_mouse_event(event);
|
confirm.content.handle_mouse_event(event);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user