We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bee31a1 commit 4ef7d05Copy full SHA for 4ef7d05
packages/app/services/thumbGenerator.ts
@@ -237,7 +237,7 @@ class ThumbGenerator {
237
setSize(width: number, height: number) {
238
this.size.set(width, height);
239
240
- const ratio = globalThis.devicePixelRatio || 1;
+ const ratio = Math.max(2, globalThis.devicePixelRatio || 1);
241
this.renderer?.setSize(this.size.x * ratio, this.size.y * ratio, true);
242
}
243
0 commit comments