Skip to content

Commit 668510a

Browse files
Make button style consistent
1 parent 3201cdd commit 668510a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Home/Pages/Games/Nim/Index.razor

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
When choosing how many coins to take from a row, keep in mind that all coins to the right of the selected one will also be taken.
3737
</p>
3838

39-
<EditForm Model="@Options" OnSubmit="() => StartNewGame()">
39+
<EditForm Model="@Options">
4040
<p>Number of rows:
4141
<InputNumber id="numberOfRows" @bind-Value="Options.NumberOfRows" />
4242
</p>
@@ -51,6 +51,6 @@
5151
<InputCheckbox id="againstAi" @bind-Value="Options.AgainstComputer" />
5252
</p>
5353

54-
<input type="submit" value="New Game" />
54+
<Button OnLeftClickCallback="StartNewGame">New Game</Button>
5555
</EditForm>
5656
</Box>

Home/Pages/Games/Voronoi/Index.razor

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,6 @@
3535
<input type="checkbox" @onchange="OnManhattanToggle" checked="@State.ManhattanDistance" />
3636
Use Manhattan Distance
3737
</label-->
38-
<button @onclick="OnClear">Clear Points</button>
38+
<Button OnLeftClickCallback="OnClear">Clear Points</Button>
3939
</div>
4040
</Box>

0 commit comments

Comments
 (0)