Skip to content

Commit

Permalink
Fix unused float handle mouse function, pub mod appstate
Browse files Browse the repository at this point in the history
Fix unnecessary usage of pub mod for appstate and resolve unused float handle mouse function
  • Loading branch information
jeevithakannan2 committed Nov 30, 2024
1 parent ab7a670 commit 468ba6e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tui/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ mod floating_text;
mod hint;
mod root;
mod running_command;
pub mod state;
mod state;
mod theme;

#[cfg(feature = "tips")]
Expand Down
2 changes: 1 addition & 1 deletion tui/src/state.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 468ba6e

Please sign in to comment.