Fix quotes

This commit is contained in:
John Factotum
2023-10-24 13:38:15 +08:00
parent 6d55d3e6b1
commit e91ff78534
+2 -2
View File
@@ -127,8 +127,8 @@ export class Overlayer {
const { color = 'red' } = options const { color = 'red' } = options
const g = createSVGElement('g') const g = createSVGElement('g')
g.setAttribute('fill', color) g.setAttribute('fill', color)
g.style.opacity = `var(--overlayer-highlight-opacity, .3)` g.style.opacity = 'var(--overlayer-highlight-opacity, .3)'
g.style.mixBlendMode = `var(--overlayer-highlight-blend-mode, normal)` g.style.mixBlendMode = 'var(--overlayer-highlight-blend-mode, normal)'
for (const { left, top, height, width } of rects) { for (const { left, top, height, width } of rects) {
const el = createSVGElement('rect') const el = createSVGElement('rect')
el.setAttribute('x', left) el.setAttribute('x', left)