� fix drone
continuous-integration/drone/push Build is failing Details

pull/96/head
Lucas DUFLOT 1 year ago
parent 5f3480bf98
commit 99349370d7

@ -65,7 +65,7 @@ class Program
static void OnBoardUpdated(object sender, EventArgs e)
{
DisplayBoard(((Game)sender).UsedMap);
DisplayOperationTable(((Game)sender).UsedMap.OperationGrid);
DisplayOperationTable(((Game)sender).UsedMap.OperationGrid.ToList());
}
/// <summary>
@ -88,7 +88,7 @@ class Program
static void OnOperationChosen(object sender, OperationChosenEventArgs e)
{
Console.WriteLine($"Operation: {e.Operation}, Result: {e.Result}");
DisplayOperationTable(((Game)sender).UsedMap.OperationGrid);
DisplayOperationTable(((Game)sender).UsedMap.OperationGrid.ToList());
Cell playerChoice = GetPlayerChoice();
try
{

@ -48,10 +48,9 @@
<!-- Operation Grid -->
<CollectionView Grid.Row="0" Grid.Column="1"
ItemsSource="{Binding ListMap[0].OperationGrid}"
ItemsLayout="VerticalGrid,5"
WidthRequest="250"
ItemsLayout="VerticalGrid,4"
WidthRequest="200"
HeightRequest="250"
SelectionMode="Single"
BackgroundColor="Transparent"
SelectionChanged="OnOperationCellSelected"
Margin="50">
@ -73,6 +72,6 @@
</Frame>
</DataTemplate>
</CollectionView.ItemTemplate>
</CollectionView>
</CollectionView>
</Grid>
</ContentPage>
Loading…
Cancel
Save