Skip to content

Commit

Permalink
Merge pull request #126 from 24ik/req
Browse files Browse the repository at this point in the history
[bug] improve front end
  • Loading branch information
24ik authored Sep 25, 2024
2 parents 7f9d0f5 + daa38ff commit 40e14fa
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion pon2.nimble
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Package

version = "0.17.1"
version = "0.17.2"
author = "Keisuke Izumiya"
description = "Application for Puyo Puyo and Nazo Puyo"
license = "Apache-2.0"
Expand Down
6 changes: 3 additions & 3 deletions src/pon2pkg/private/app/simulator/web/requirement.nim
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ proc initRequirementNode*(
tdiv(class = "select"):
select(
id = kstring &"{KindSelectIdPrefix}{id}",
onclick = simulator.initKindHandler(id),
onchange = simulator.initKindHandler(id),
):
for kind in RequirementKind:
option(selected = kind == req.kind):
Expand All @@ -85,7 +85,7 @@ proc initRequirementNode*(
tdiv(class = "select"):
select(
id = kstring &"{ColorSelectIdPrefix}{id}",
onclick = simulator.initColorHandler(id),
onchange = simulator.initColorHandler(id),
):
option(selected = req.color == RequirementColor.All):
text ""
Expand All @@ -98,7 +98,7 @@ proc initRequirementNode*(
tdiv(class = "select"):
select(
id = kstring &"{NumberSelectIdPrefix}{id}",
onclick = simulator.initNumberHandler(id),
onchange = simulator.initNumberHandler(id),
):
for num in RequirementNumber.low .. RequirementNumber.high:
option(selected = num == req.number):
Expand Down

0 comments on commit 40e14fa

Please sign in to comment.