Fix PixelArray Creation Width

This commit is contained in:
Unknown 2018-02-14 17:58:37 +01:00
parent eb12e43d71
commit 56994771f0
1 changed files with 1 additions and 1 deletions

View File

@ -81,7 +81,7 @@ class PixelArray {
pixels = new List(height);
for (int y = 0; y < height; y++) {
pixels[y] = new List(width);
for (int x = 0; x < height; x++) {
for (int x = 0; x < width; x++) {
pixels[y][x] = new Pixel(x, y, 0, 0, 0, 0);
}
}