ignore letterDelay from savedMapping, if prop is sequenced
dependencies hashes: openFrameworks d78075f4bca6be2a2533c6e51a75cc1f18404501 ofxMsdfgen e14da13d02c4dff04fb69d7923469f606924e6c3 ofxGPUFont d482bb7cbdf6b296fa4ab5abcf73fb5ff8c8b239 ofxVariableLab 8df98846248a93aa068989a3ebd0d2f0f16e5e69 ofxProfiler a868e34fa1a79189dd4fbdede2938e308535e5e8 theatre 86d3e07f6f2c75fd6e08fca8c97e3617c9e23b18
This commit is contained in:
parent
28fb7e2198
commit
a1570e7fc3
1 changed files with 5 additions and 0 deletions
|
@ -126,6 +126,11 @@ const Audio = function(tp, record) {
|
|||
|
||||
const getAudioMappingOptions = (layer, propTitle) => {
|
||||
if (savedMapping.hasOwnProperty(layer.id()) && savedMapping[layer.id()].hasOwnProperty(propTitle)) {
|
||||
if (tp.isSequenced(propTitle, layer)) {
|
||||
const m = clone(savedMapping[layer.id()][propTitle]);
|
||||
delete m.letterDelay;
|
||||
return m;
|
||||
}
|
||||
return savedMapping[layer.id()][propTitle];
|
||||
} else if (propTitle === 'color') {
|
||||
const mm = getDefaultRange(layer, 'color');
|
||||
|
|
Loading…
Reference in a new issue