mirror of
https://github.com/piskelapp/piskel.git
synced 2023-08-10 21:12:52 +03:00
Fixed initialization bug + performance issue with jquery pub sub
This commit is contained in:
@@ -83,7 +83,7 @@ $.namespace("pskl");
|
||||
});
|
||||
|
||||
$.subscribe('FRAMESHEET_RESET', function(evt, frameId) {
|
||||
piskel.redraw();
|
||||
piskel.render();
|
||||
});
|
||||
var drawingLoop = new pskl.rendering.DrawingLoop();
|
||||
drawingLoop.addCallback(this.render, this);
|
||||
|
||||
Reference in New Issue
Block a user