Skip to content

Commit 7648fae

Browse files
authored
Update rot3d.js
1 parent f087999 commit 7648fae

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

rot3d.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,8 @@ export class rot3d {
4141

4242
this._imgArr = [];
4343

44-
for (let i = this._conf.from || 1; i <= this._fps; i++) {
44+
let i = this._conf.from || 1;
45+
for (i; i <= this._fps; i++) {
4546
let img = new Image();
4647
img.src = `${this._dir}${i}.png`;
4748

0 commit comments

Comments
 (0)