fix dioxus-tui events

This commit is contained in:
Evan Almloff committed 2023-09-06 12:51:02 -05:00
1 parent 0ab7a02777
commit d06e64e5ad
19 files changed
+221 -21

No files matched your search

+1 -3
View File
@@ -14,9 +14,7 @@ fn miri_rollover() {
for _ in 0..3 {
dom.handle_event(
"click",
Rc::new(PlatformEventData::new(Box::new(
SerializedMouseData::default(),
))),
Rc::new(PlatformEventData::new(Box::<SerializedMouseData>::default())),
ElementId(2),
true,
);