mirror of https://github.com/lapce/lapce.git
Fix hover effect not resetting on mouse leave
This commit is contained in:
parent
303b7e6acb
commit
a23493b006
|
@ -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() {
|
||||
|
|
Loading…
Reference in New Issue