fix headless event counter

This commit is contained in:
Jonathan Kelley committed 2024-02-05 17:58:13 -08:00
1 parent d2346cc477
commit f2ec5c5cb8
1 file changed
+4 -4
+4 -4
View File
@@ -205,10 +205,10 @@ fn app() -> Element {
r#"new FocusEvent("focusout",{bubbles: true})"#,
);
// if received_events() == 13 {
// println!("all events recieved");
// desktop_context.close();
// }
if received_events() == 13 {
println!("all events recieved");
desktop_context.close();
}
rsx! {
div {