mirror of
https://github.com/Tonejs/Tone.js
synced 2024-11-16 08:38:00 +00:00
make sure signal is defined before checking instanceof
This commit is contained in:
parent
a2611941ea
commit
117337e5e1
1 changed files with 1 additions and 1 deletions
|
@ -173,7 +173,7 @@ define(function(){
|
|||
if (isUndef(param)){
|
||||
continue;
|
||||
}
|
||||
if (param instanceof Tone.Signal){
|
||||
if (isFunction(Tone.Signal) && param instanceof Tone.Signal){
|
||||
if (param.value !== value){
|
||||
if (isUndef(rampTime)){
|
||||
param.value = value;
|
||||
|
|
Loading…
Reference in a new issue