Closed dascritch closed 3 years ago
And panels are shown :(
Regression only on gh-pages, because on cpu-controller insertion in _includes/footer.html :
document.addEventListener('DOMContentLoaded', () => {
if (!document.querySelector('cpu-audio')) {
return;
}
const controller = document.createElement('cpu-controller');
controller.setAttribute('mode', 'button');
document.querySelector('h1').prepend(controller);
});
Too many problems with this gh-pages theme
We may need to change "on the fly" webcomponent redenring if mode
or hide
are dynamically changing
When a CPU-Controller has a mode="button", and a player any upper mode, the Controller wrongly takes the player mode at play.