|
@@ -128,12 +128,12 @@ class Atlas extends Resource {
|
|
|
}
|
|
|
tl[index] = { t : t, width : origW, height : origH };
|
|
|
}
|
|
|
-
|
|
|
- // remove first element if index started at 1 instead of 0
|
|
|
- for( tl in contents )
|
|
|
- if( tl.length > 1 && tl[0] == null ) tl.shift();
|
|
|
}
|
|
|
+
|
|
|
+ // remove first element if index started at 1 instead of 0
|
|
|
+ for( tl in contents )
|
|
|
+ if( tl.length > 1 && tl[0] == null ) tl.shift();
|
|
|
return contents;
|
|
|
}
|
|
|
|
|
|
-}
|
|
|
+}
|