Setup stable toolchain

This commit is contained in:
Spxg
2025-05-17 10:30:39 +08:00
parent abec4e6108
commit c235b0985f
3 changed files with 7 additions and 4 deletions

View File

@@ -40,7 +40,7 @@ where
}
if event.key() == "Escape" {
set_open(false);
set_open.set(false);
}
};
@@ -75,7 +75,7 @@ where
.as_ref()
.is_some_and(|floating| floating.deref().contains(node.as_ref()))
}) {
set_open(false);
set_open.set(false);
}
}
};
@@ -183,7 +183,7 @@ where
let float = move || {
let menu_clone = Arc::clone(&menu);
view! {
<Show when=is_open fallback=|| ()>
<Show when=move || is_open.get() fallback=|| ()>
<div
class=styles::container
node_ref=floating_ref