From 531f0b580fbf2b1f19fcc1ad0b29acfbe7606b36 Mon Sep 17 00:00:00 2001 From: Brian Cully Date: Mon, 28 Jul 2025 10:03:19 -0400 Subject: fix attributelisteners on strings we write value, and need to care about the tonic's octave --- string.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/string.mjs b/string.mjs index 03cf720..cf9b759 100644 --- a/string.mjs +++ b/string.mjs @@ -15,7 +15,7 @@ function dots(i) { export default class extends HTMLElement { // TODO: probably not worth observing frets since everything just // gets re-rendered when they change. - static observedAttributes = ['frets', 'tonic', 'value']; + static observedAttributes = ['frets', 'tonic', 'tonic-octave']; static name = 'x-string'; static register() { -- cgit v1.3