File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 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 >
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 >
Original file line number Diff line number Diff line change 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 >
You can’t perform that action at this time.
0 commit comments