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