Fix the fit addon

This commit is contained in:
Daniel Imms
2017-09-01 20:44:41 -07:00
parent 2c9dbc6191
commit bf95333275
5 changed files with 39 additions and 38 deletions
+1 -1
View File
@@ -18,7 +18,7 @@ export class GridCache<T> {
this.cache.length = width;
}
public clear() {
public clear(): void {
for (let x = 0; x < this.cache.length; x++) {
for (let y = 0; y < this.cache[x].length; y++) {
this.cache[x][y] = null;