Correction du bug de la grille d'operation
continuous-integration/drone/push Build is passing Details

pull/108/head
Lucas DUFLOT 1 year ago
parent 606ee7d0dc
commit 5d53cc73bf

@ -109,7 +109,7 @@ namespace Models.Game
{
for (int j = 0; j < 4; j++) // 4 cells per operation
{
operationGrid.Add(new OperationCell(i, j));
operationGrid.Add(new OperationCell(j, i));
}
}
}

@ -87,12 +87,12 @@
<!--Grille de la partie-->
<CollectionView Grid.Column="1"
ItemsSource="{Binding UsedMap.OperationGrid}"
ItemsLayout="VerticalGrid,4"
WidthRequest="200"
HeightRequest="250"
BackgroundColor="Transparent"
SelectionChanged="OnOperationCellSelected"
Margin="50">
Margin="50"
ItemsLayout="VerticalGrid,4">
<CollectionView.ItemTemplate>
<DataTemplate>
<Frame HasShadow="True"

Loading…
Cancel
Save