get input source on hover

dependencies hashes:
openFrameworks d78075f4bca6be2a2533c6e51a75cc1f18404501
ofxMsdfgen e14da13d02c4dff04fb69d7923469f606924e6c3
ofxGPUFont d482bb7cbdf6b296fa4ab5abcf73fb5ff8c8b239
ofxVariableLab 8df98846248a93aa068989a3ebd0d2f0f16e5e69
ofxProfiler a868e34fa1a79189dd4fbdede2938e308535e5e8
theatre 86d3e07f6f2c75fd6e08fca8c97e3617c9e23b18
This commit is contained in:
themancalledjakob 2024-03-22 16:35:44 +01:00
parent 1fdce3ee96
commit 962344e8cd

View file

@ -329,6 +329,7 @@ const Audio = function(tp, record) {
source_Dom.id = toCssClass(`audio_source${propTitle}`); source_Dom.id = toCssClass(`audio_source${propTitle}`);
const source_mic = document.createElement('option'); const source_mic = document.createElement('option');
source_mic.value = 'microphone'; source_mic.value = 'microphone';
source_mic.title = 'microphone';
source_mic.innerHTML = 'microphone'; source_mic.innerHTML = 'microphone';
source_Dom.append(source_mic); source_Dom.append(source_mic);
let selectedSource = 'microphone'; let selectedSource = 'microphone';
@ -345,6 +346,7 @@ const Audio = function(tp, record) {
source_file.setAttribute('selected','true'); source_file.setAttribute('selected','true');
} }
source_file.value = file; source_file.value = file;
source_file.title = file;
if (file.length > config.audio.maxFilenameLength) { if (file.length > config.audio.maxFilenameLength) {
source_file.innerHTML = file.substr(0,6) + '..' + file.substr(file.length - 6, 6); source_file.innerHTML = file.substr(0,6) + '..' + file.substr(file.length - 6, 6);
} else { } else {