Skip to content

Commit

Permalink
Hide quit button, only needed for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Qluxzz committed Oct 28, 2024
1 parent 91dac8a commit ed3c9ab
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Main.elm
Original file line number Diff line number Diff line change
Expand Up @@ -854,8 +854,10 @@ actionsView state player =
Html.div []
[ Html.button [ Html.Events.onClick NextRound ]
[ Html.text "Continue?" ]

-- Hidden quit button used for tests
, Html.button
[ Html.Events.onClick QuitToMainMenu ]
[ Html.Events.onClick QuitToMainMenu, Html.Attributes.style "display" "none" ]
[ Html.text "Quit?" ]
]
]
Expand Down

0 comments on commit ed3c9ab

Please sign in to comment.