This commit is contained in:
HF 2024-02-23 19:49:00 +01:00
parent 0817964dfc
commit d2e2656c26

View File

@ -135,7 +135,7 @@ export function renderOverlay(
const context = $canvas.getContext('2d'); const context = $canvas.getContext('2d');
if (!context) return; if (!context) return;
context.imageSmoothingEnabled = true; context.imageSmoothingEnabled = false;
context.save(); context.save();
context.scale(offscreenScale, offscreenScale); context.scale(offscreenScale, offscreenScale);
context.globalAlpha = state.templates.oOpacity / 100; context.globalAlpha = state.templates.oOpacity / 100;
@ -177,7 +177,7 @@ export function renderSmallPOverlay(
if (!context) return; if (!context) return;
const relScale = scale / 3; const relScale = scale / 3;
context.imageSmoothingEnabled = true; context.imageSmoothingEnabled = false;
context.save(); context.save();
context.scale(relScale, relScale); context.scale(relScale, relScale);
for (const template of templates) { for (const template of templates) {