🚀 avoid drawing cell that are not in the original contribution grid

This commit is contained in:
platane
2020-10-19 23:06:55 +02:00
parent 89e2630eec
commit 2e818ce425
3 changed files with 28 additions and 20 deletions

View File

@@ -28,6 +28,7 @@ export const generateContributionSnake = async (userName: string) => {
colorDots: colorScheme,
colorEmpty: colorScheme[0],
colorSnake: "purple",
cells,
};
const gifOptions = { frameDuration: 100, step: 1 };