Skip to content

Commit bb47289

Browse files
committed
Added ability to cancel a game to the GamePage UI
1 parent de60e70 commit bb47289

1 file changed

Lines changed: 5 additions & 7 deletions

File tree

src/Codebreaker.WinUI/Views/Pages/GamePage.xaml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -89,8 +89,6 @@
8989
x:Name="PegSelectionArea"
9090
Orientation="Horizontal"
9191
Grid.Row="1">
92-
<!--
93-
Cancelling the game is not yet implemented in the VM
9492
<Button
9593
Height="92" Margin="0,-6,4,0" Width="100"
9694
ca:Confirm.Enabled="True"
@@ -104,11 +102,11 @@
104102
<ProgressRing Visibility="{x:Bind ViewModel.CancelGameCommand.IsRunning, Mode=OneWay}" />
105103
<TextBlock Text="{cme:ResourceString Name=GamePage_CancelButtonText}" />
106104
</StackPanel>
107-
</Button>-->
108-
<components:PegSelectionComponent
109-
Grid.Row="3"
110-
Margin="65,0,0,0"
111-
ViewModel="{x:Bind ViewModel, Mode=OneWay}" />
105+
</Button>
106+
<components:PegSelectionComponent
107+
Grid.Row="3"
108+
Margin="65,0,0,0"
109+
ViewModel="{x:Bind ViewModel, Mode=OneWay}" />
112110
</StackPanel>
113111
<!--Move section-->
114112
<ScrollViewer Grid.Row="2" Padding="0,0,0,15" x:Name="PegScrollViewer">

0 commit comments

Comments
 (0)