From 98de6f70b8d50b695b343bdbaf14c9023ba27286 Mon Sep 17 00:00:00 2001 From: Brian Cully Date: Mon, 28 Jul 2025 11:37:07 -0400 Subject: fix string selection update on click --- fretboard.mjs | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'fretboard.mjs') 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'); -- cgit v1.3