We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 78fead8 commit d0f1c8cCopy full SHA for d0f1c8c
src/patterns/rendering.ts
@@ -38,7 +38,7 @@ export async function renderPattern(
38
pattern: string,
39
{ isPerWorld, darkMode }: PatternRenderingOptions,
40
): Promise<RenderedImage> {
41
- const key = `${direction} ${pattern}`;
+ const key = `${direction} ${pattern} ${isPerWorld ? "perWorld" : ""}`;
42
if (patternImages.has(key)) {
43
return patternImages.get(key)!!;
44
}
0 commit comments