idk but this makes things better

This commit is contained in:
Djeeberjr 2022-02-20 14:39:50 +01:00
parent 77539866b5
commit fc98520147

View File

@ -67,7 +67,7 @@ class CanvasKeyValueIterator{
}
public function hasNext():Bool{
return index.y < canvas.length && index.x < canvas[index.y].length;
return index.y < canvas.length && index.x <= canvas[index.y].length;
}
public function next():{key:Vec2<Int>, value:Pixel}{