Fix different grid layout shown by editor than the engine (#4758)

This commit is contained in:
stefansjfw
2020-07-06 17:04:40 +02:00
committed by GitHub
parent a935d69408
commit 11df74c292
2 changed files with 4 additions and 3 deletions

View File

@@ -329,9 +329,9 @@ namespace FancyZonesEditor
}
int index = ZoneCount - 1;
for (int row = rows - 1; row >= 0; row--)
for (int col = cols - 1; col >= 0; col--)
{
for (int col = cols - 1; col >= 0; col--)
for (int row = rows - 1; row >= 0; row--)
{
_gridModel.CellChildMap[row, col] = index--;
if (index < 0)