wip: it works more

This commit is contained in:
Jonathan Kelley committed 2022-11-15 23:59:19 -08:00
1 parent 9a3f84037e
commit ea7ab5f765
4 files changed
+20 -18

No files matched your search

+9 -6
View File
@@ -70,12 +70,15 @@ pub fn Die<'a>(cx: Scope<'a, DieProps<'a>>) -> Element {
.map(|((x, y), _)| {
let dcx = x * OFFSET;
let dcy = y * OFFSET;
rsx!(circle {
cx: "{dcx}",
cy: "{dcy}",
r: "{DOT_RADIUS}",
fill: "#333"
})
rsx! {
circle {
cx: "{dcx}",
cy: "{dcy}",
r: "{DOT_RADIUS}",
fill: "#333"
}
}
});
cx.render(rsx! {