diff --git a/tui/src/main.rs b/tui/src/main.rs index ee0c3235..76ef584f 100644 --- a/tui/src/main.rs +++ b/tui/src/main.rs @@ -5,7 +5,7 @@ mod floating_text; mod hint; mod root; mod running_command; -pub mod state; +mod state; mod theme; #[cfg(feature = "tips")] diff --git a/tui/src/state.rs b/tui/src/state.rs index cec9cc3c..aee17b97 100644 --- a/tui/src/state.rs +++ b/tui/src/state.rs @@ -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);