Skip to content

Commit 27a796b

Browse files
committed
Fix double borders in 2048Clone theme not removed when animations are disabled
1 parent 9744309 commit 27a796b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/render.ts

+4
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,10 @@ export const renderBoard = (
7373
}, 100);
7474
}, 0);
7575
}
76+
} else {
77+
if (options.theme === "classic") {
78+
applyClassicThemeBlockStyles(numberBox, x, y, row, board);
79+
}
7680
}
7781
}
7882
}

0 commit comments

Comments
 (0)