...
 
Commits (3)
Thanks to the adding of patch editor in the web Novation Circuit Component, this project is no longer relevant and no longer active.
# Circuit Web Synth Editor
Circuit Web Synth Editor is a Free/Libre web application to edit patches on the Novation Circuit.
......
......@@ -58,15 +58,15 @@ select {
min-width: auto;
}
.synth-tabs.nav-pills a.nav-link {
.synth-tabs.nav-pills a.nav-link, #simpleMode {
background-color: #282c34;
color: white;
}
.synth-tabs.nav-pills a.nav-link.active {
.synth-tabs.nav-pills a.nav-link.active, #simpleMode.active {
background-color: white;
color: black;
}
.synth-tabs .nav-item {
.synth-tabs .nav-item, #simpleMode {
margin: 0 3px;
cursor: pointer;
}
......
......@@ -88,3 +88,21 @@ for (let synthTab of synthTabs) {
}
});
}
var simpleModeBtn = document.querySelector('#simpleMode');
var advancedElts = document.querySelectorAll('*[advanced]');
simpleModeBtn.addEventListener('click', function(event) {
var hide = false;
this.classList.toggle('active');
if (this.classList.contains('active')) {
hide = true;
}
for (let item of advancedElts) {
item.hidden = hide;
}
});
......@@ -56,3 +56,7 @@ WebMidi.enable(function (err) {
}, sysex=true);
resetValues();
$(function () {
$('[data-toggle="tooltip"]').tooltip()
})
This source diff could not be displayed because it is too large. You can view the blob instead.
This diff is collapsed.
This source diff could not be displayed because it is too large. You can view the blob instead.