Fix hover effect not resetting on mouse leave

This commit is contained in:
Dániel Buga 2022-03-31 21:37:14 +02:00
parent 303b7e6acb
commit a23493b006
1 changed files with 3 additions and 0 deletions

View File

@ -367,6 +367,9 @@ fn event(
data: &mut LapceTabData,
_env: &Env,
) {
if !ctx.is_hot() {
return;
}
match event {
Event::MouseMove(mouse_event) => {
if let Some(workspace) = data.file_explorer.workspace.as_ref() {