diff options
| author | Brian Cully <bjc@spork.org> | 2025-07-28 10:03:19 -0400 |
|---|---|---|
| committer | Brian Cully <bjc@spork.org> | 2025-07-28 10:03:19 -0400 |
| commit | 531f0b580fbf2b1f19fcc1ad0b29acfbe7606b36 (patch) | |
| tree | d3d5ea4e095e86543fd40bd8ef7355ed9f87993f | |
| parent | 636c18b9640733ffab9d9bb35fa7753a7d1903a3 (diff) | |
| download | chords-531f0b580fbf2b1f19fcc1ad0b29acfbe7606b36.tar.gz chords-531f0b580fbf2b1f19fcc1ad0b29acfbe7606b36.zip | |
fix attributelisteners on strings
we write value, and need to care about the tonic's octave
| -rw-r--r-- | string.mjs | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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() { |
