fix formatting issue

This commit is contained in:
Evan Simkowitz 2023-08-23 20:23:54 -04:00
parent e8b95993ac
commit 500051e2b2
No known key found for this signature in database
GPG key ID: 17F88C71AA49179F

View file

@ -134,9 +134,13 @@ fn mouse_up() {
modifiers: KeyModifiers::NONE, modifiers: KeyModifiers::NONE,
})); }));
cx.render(rsx! { cx.render(rsx! {
div { width: "100%", height: "100%", onmouseup: move |_| { div {
width: "100%",
height: "100%",
onmouseup: move |_| {
tui_ctx.quit(); tui_ctx.quit();
} } }
}
}) })
} }
} }
@ -169,9 +173,13 @@ fn mouse_enter() {
modifiers: KeyModifiers::NONE, modifiers: KeyModifiers::NONE,
})); }));
cx.render(rsx! { cx.render(rsx! {
div { width: "50%", height: "50%", onmouseenter: move |_| { div {
width: "50%",
height: "50%",
onmouseenter: move |_| {
tui_ctx.quit(); tui_ctx.quit();
} } }
}
}) })
} }
} }
@ -204,9 +212,13 @@ fn mouse_exit() {
modifiers: KeyModifiers::NONE, modifiers: KeyModifiers::NONE,
})); }));
cx.render(rsx! { cx.render(rsx! {
div { width: "50%", height: "50%", onmouseenter: move |_| { div {
width: "50%",
height: "50%",
onmouseenter: move |_| {
tui_ctx.quit(); tui_ctx.quit();
} } }
}
}) })
} }
} }
@ -239,9 +251,13 @@ fn mouse_move() {
modifiers: KeyModifiers::NONE, modifiers: KeyModifiers::NONE,
})); }));
cx.render(rsx! { cx.render(rsx! {
div { width: "100%", height: "100%", onmousemove: move |_| { div {
width: "100%",
height: "100%",
onmousemove: move |_| {
tui_ctx.quit(); tui_ctx.quit();
} } }
}
}) })
} }
} }
@ -314,9 +330,13 @@ fn click() {
modifiers: KeyModifiers::NONE, modifiers: KeyModifiers::NONE,
})); }));
cx.render(rsx! { cx.render(rsx! {
div { width: "100%", height: "100%", onclick: move |_| { div {
width: "100%",
height: "100%",
onclick: move |_| {
tui_ctx.quit(); tui_ctx.quit();
} } }
}
}) })
} }
} }
@ -349,9 +369,13 @@ fn context_menu() {
modifiers: KeyModifiers::NONE, modifiers: KeyModifiers::NONE,
})); }));
cx.render(rsx! { cx.render(rsx! {
div { width: "100%", height: "100%", oncontextmenu: move |_| { div {
width: "100%",
height: "100%",
oncontextmenu: move |_| {
tui_ctx.quit(); tui_ctx.quit();
} } }
}
}) })
} }
} }