Fix loading for Pixelfade
],
create: function() {
this.inherited(arguments);
- this.preferencesChanged();
},
rendered: function() {
this.canvas = this.$.canvas.hasNode();
img.src = "hacks/Pixelfade/pixelfade" + i + ".gif";
this.faders.push(img);
}
+ this.preferencesChanged();
},
start: function() {
this.resize(window.innerWidth, window.innerHeight);
this.fadeInTimer = null;
},
resize: function(w, h) {
+ if (!this.canvas)
+ return;
this.canvas.style.width = w + 'px';
this.canvas.style.height = h + 'px';
this.canvas.width = w;