Skip to content

Commit

Permalink
Opacity error - meltFrames.
Browse files Browse the repository at this point in the history
  • Loading branch information
matob committed Nov 30, 2011
1 parent ae940e4 commit 7648bdf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion snowstorm.js
Expand Up @@ -363,10 +363,10 @@ var snowStorm = (function(window, document) {
s.recycle();
} else {
if (s.meltFrame < s.meltFrameCount) {
s.meltFrame++;
s.setOpacity(s.o,s.meltFrames[s.meltFrame]);
s.o.style.fontSize = s.fontSize-(s.fontSize*(s.meltFrame/s.meltFrameCount))+'px';
s.o.style.lineHeight = storm.flakeHeight+2+(storm.flakeHeight*0.75*(s.meltFrame/s.meltFrameCount))+'px';
s.meltFrame++;
} else {
s.recycle();
}
Expand Down

0 comments on commit 7648bdf

Please sign in to comment.