Fix missing parenthesis
This commit is contained in:
parent
9ee6e229f0
commit
74e6f3f1cc
1 changed files with 2 additions and 2 deletions
|
@ -64,9 +64,9 @@ plugin("fireworks", {
|
||||||
var c1 = getColor(r1i);
|
var c1 = getColor(r1i);
|
||||||
var c2 = getColor(r2i);
|
var c2 = getColor(r2i);
|
||||||
var effectBuilder = FireworkEffect.builder()
|
var effectBuilder = FireworkEffect.builder()
|
||||||
.flicker(Math.round(Math.random()==0)
|
.flicker(Math.round(Math.random())==0)
|
||||||
.withColor(c1)
|
.withColor(c1)
|
||||||
.withFade(c2).trail(Math.round(Math.random()==0);
|
.withFade(c2).trail(Math.round(Math.random())==0);
|
||||||
effectBuilder['with'](type);
|
effectBuilder['with'](type);
|
||||||
var effect = effectBuilder.build();
|
var effect = effectBuilder.build();
|
||||||
fwm.addEffect(effect);
|
fwm.addEffect(effect);
|
||||||
|
|
Reference in a new issue