fix: menu doesn't show by unfocusing when clicking outside of the terminal_box

This commit is contained in:
KENZ 2025-12-25 22:59:39 +09:00 committed by KENZ
parent 768ee43d5a
commit c22d1ccc28

View file

@ -1380,6 +1380,8 @@ where
} }
shell.capture_event(); shell.capture_event();
} }
} else {
state.is_focused = false;
} }
} }
Event::Mouse(MouseEvent::ButtonReleased(Button::Left)) => { Event::Mouse(MouseEvent::ButtonReleased(Button::Left)) => {