mirror of
https://github.com/DioxusLabs/dioxus
synced 2024-11-27 06:30:20 +00:00
fix formatting
This commit is contained in:
parent
1b199977d1
commit
ea5e664364
1 changed files with 5 additions and 7 deletions
|
@ -1,7 +1,6 @@
|
|||
|
||||
use dioxus::html::geometry::euclid::Vector3D;
|
||||
use dioxus::prelude::*;
|
||||
use dioxus_desktop::DesktopContext;
|
||||
use dioxus::html::geometry::euclid::Vector3D;
|
||||
|
||||
pub(crate) fn check_app_exits(app: Component) {
|
||||
// This is a deadman's switch to ensure that the app exits
|
||||
|
@ -67,7 +66,7 @@ fn app(cx: Scope) -> Element {
|
|||
cancelable: true,
|
||||
buttons: 2,
|
||||
})"#,
|
||||
);
|
||||
);
|
||||
// mouse_click_div
|
||||
mock_event(
|
||||
&cx,
|
||||
|
@ -78,7 +77,7 @@ fn app(cx: Scope) -> Element {
|
|||
cancelable: true,
|
||||
buttons: 2,
|
||||
button: 2,
|
||||
})"#
|
||||
})"#,
|
||||
);
|
||||
// mouse_dblclick_div
|
||||
mock_event(
|
||||
|
@ -208,7 +207,6 @@ fn app(cx: Scope) -> Element {
|
|||
r#"new FocusEvent("focusout",{bubbles: true})"#,
|
||||
);
|
||||
|
||||
|
||||
if **recieved_events == 12 {
|
||||
println!("all events recieved");
|
||||
desktop_context.close();
|
||||
|
|
Loading…
Reference in a new issue