Compare commits

..

No commits in common. "e41567c1015ce2224cc48873bd478b709e79d594" and "229ddb9c37e7a8983b0517038d4bf3a77ad752ab" have entirely different histories.

2 changed files with 6 additions and 17 deletions

View File

@ -205,15 +205,7 @@ h5 {
#pulse {
animation: pulse-animation 0.2s normal;
}
/* :::::::::::::: SELECTING MODULATORS/ENUMERATORS */
.highlighted-button {
background-color: gray;
}
.unhighlighted-button {
background-color: white;
}
/* :::::::::::::: LOCK CSS */
.locked-component {
@ -225,7 +217,7 @@ h5 {
.header {
display: flex;
width: 100%;
flex-direction: flex;
justify-content: space-between;
}
/* Locked */

View File

@ -534,19 +534,16 @@ function MasterLfoHandler() {
var grid;
var modButtonClass;
var enumButtonClass;
var title;
var labels;
if (viewMode === ViewModes.MOD) {
grid = modContents;
modButtonClass = "highlighted-button";
enumButtonClass = "unhighlighted-button";
title = "MODULATORS";
labels = MODULATORLABELS;
}
else {
grid = enumContents;
modButtonClass = "unhighlighted-button";
enumButtonClass = "highlighted-button";
title = "ENUMERATORS";
labels = ENUMERATORLABELS;
}
@ -560,12 +557,12 @@ function MasterLfoHandler() {
return e('div', null,
e('div', { className: 'header' },
e('button', { onClick: () => setViewMode(ViewModes.MOD), className: modButtonClass}, 'Modulators'),
e('button', { onClick: () => setViewMode(ViewModes.ENUM), className: enumButtonClass }, 'Enumerators'),
e(Switch, { ontoggle: toggleViewMode }, null),
//allows lock mode
//e('span', { className: lockClass, onClick: toggleLockMode }, null)
),
//e('h5', null, title),
e('table', { id: 'table' },
e('thead', null, e('tr', { id: 'headers' }, ...labels.map(x => e('th', null, x)))),
e('tbody', null, ...grid)