From: Stephen Seo Date: Wed, 2 Mar 2022 08:51:14 +0000 (+0900) Subject: Impl additional info text box, drop logic X-Git-Tag: sprint_01_day_3~4 X-Git-Url: https://git.seodisparate.com/stephenseo/LD53?a=commitdiff_plain;h=3b4d8b3483a25c332dcff3e28737ebd0048f4da3;p=EN605.607.81.SP22_ASDM_Project Impl additional info text box, drop logic Can place tokens, and not place tokens where there already is a token. Additional info text box added to the side of the board. More information to the UI regarding placed tokens. --- diff --git a/front_end/Cargo.toml b/front_end/Cargo.toml index c1e3726..19f0c97 100644 --- a/front_end/Cargo.toml +++ b/front_end/Cargo.toml @@ -9,4 +9,4 @@ edition = "2021" yew = "0.19" log = "0.4.6" wasm-logger = "0.2.0" -web-sys = { version = "0.3.56", features = ["HtmlDivElement"] } +web-sys = { version = "0.3.56", features = ["HtmlDivElement", "HtmlButtonElement"] } diff --git a/front_end/index.html b/front_end/index.html index cd908ca..dcb914a 100644 --- a/front_end/index.html +++ b/front_end/index.html @@ -6,7 +6,7 @@