diff options
| author | Brian Cully <bjc@spork.org> | 2025-07-28 11:37:07 -0400 |
|---|---|---|
| committer | Brian Cully <bjc@spork.org> | 2025-07-28 11:37:07 -0400 |
| commit | 98de6f70b8d50b695b343bdbaf14c9023ba27286 (patch) | |
| tree | 4aaf3fb8876e7ad96dbe02999a4c6ac15ebe60c2 /fretboard.mjs | |
| parent | 82e797c8b303393aa7d0b16787ec353b520dec44 (diff) | |
| download | chords-98de6f70b8d50b695b343bdbaf14c9023ba27286.tar.gz chords-98de6f70b8d50b695b343bdbaf14c9023ba27286.zip | |
fix string selection update on click
Diffstat (limited to 'fretboard.mjs')
| -rw-r--r-- | fretboard.mjs | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/fretboard.mjs b/fretboard.mjs index cae94ec..017d273 100644 --- a/fretboard.mjs +++ b/fretboard.mjs @@ -94,19 +94,6 @@ export default class extends HTMLElement { }); } - updateSelected(formData) { - // this.querySelectorAll('tbody .selected').forEach(elt => { - // const string = Array.from(elt.parentNode.classList).filter(x => x.startsWith('string'))[0]; - // const val = formData.get(string); - // const note = Note.fromString(fretToNote(this, string, val)); - // if (note.isSharp) { - // elt.innerText = `${note} / ${note.toAlternateString()}`; - // } else { - // elt.innerText = note; - // } - // }); - } - zotStrings() { console.debug('Fretboard#zotStrings', this); const tmpl = this.querySelector('template.string'); |
