Make directly setting view.onFrame work again.

This commit is contained in:
Jürg Lehni 2013-11-29 20:03:52 +01:00
parent 79caf66a23
commit aec19b9494

View file

@ -319,7 +319,8 @@ paper.PaperScope.prototype.PaperScript = (function(root) {
size: view.size,
delta: new Point()
});
view.setOnFrame(onFrame);
if (onFrame)
view.setOnFrame(onFrame);
// Automatically draw view at the end.
view.draw();
}