fix: menu doesn't show by unfocusing when clicking outside of the terminal_box
This commit is contained in:
parent
768ee43d5a
commit
c22d1ccc28
1 changed files with 2 additions and 0 deletions
|
|
@ -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)) => {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue