add stoprecording button in notice
dependencies hashes: openFrameworks d78075f4bca6be2a2533c6e51a75cc1f18404501 ofxMsdfgen e14da13d02c4dff04fb69d7923469f606924e6c3 ofxGPUFont d482bb7cbdf6b296fa4ab5abcf73fb5ff8c8b239 ofxVariableLab 8df98846248a93aa068989a3ebd0d2f0f16e5e69 ofxProfiler a868e34fa1a79189dd4fbdede2938e308535e5e8 theatre 86d3e07f6f2c75fd6e08fca8c97e3617c9e23b18
This commit is contained in:
parent
6e60818136
commit
94081b9345
2 changed files with 5 additions and 2 deletions
|
@ -266,6 +266,9 @@ body.debug div:not(.centerLine) {
|
|||
#notice_recording.visible {
|
||||
display: flex;
|
||||
}
|
||||
#notice_recording button {
|
||||
pointer-events: all;
|
||||
}
|
||||
#notice_recording.impenetrable {
|
||||
pointer-events: all;
|
||||
background-color: rgba(0,0,0,0.5);
|
||||
|
|
|
@ -469,9 +469,9 @@ const Record = function(tp) {
|
|||
document.querySelector('#notice_recording')
|
||||
.classList.add('visible');
|
||||
document.querySelector('#notice_recording')
|
||||
.classList.remove('imprenetrable');
|
||||
.classList.remove('impenetrable');
|
||||
document.querySelector('#notice_recording .what p').innerHTML = 'recording';
|
||||
document.querySelector('#notice_recording .details p').innerHTML = '';
|
||||
document.querySelector('#notice_recording .details p').innerHTML = '<button onclick="record.stopRecording()">stop recording</button>';
|
||||
if (!isInitialized) {
|
||||
init();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue