From e91ff7853465f1e5b8f965090422bec6d7772554 Mon Sep 17 00:00:00 2001 From: John Factotum <50942278+johnfactotum@users.noreply.github.com> Date: Tue, 24 Oct 2023 13:38:15 +0800 Subject: [PATCH] Fix quotes --- overlayer.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/overlayer.js b/overlayer.js index 880b906..6fd03ab 100644 --- a/overlayer.js +++ b/overlayer.js @@ -127,8 +127,8 @@ export class Overlayer { const { color = 'red' } = options const g = createSVGElement('g') g.setAttribute('fill', color) - g.style.opacity = `var(--overlayer-highlight-opacity, .3)` - g.style.mixBlendMode = `var(--overlayer-highlight-blend-mode, normal)` + g.style.opacity = 'var(--overlayer-highlight-opacity, .3)' + g.style.mixBlendMode = 'var(--overlayer-highlight-blend-mode, normal)' for (const { left, top, height, width } of rects) { const el = createSVGElement('rect') el.setAttribute('x', left)