Selection tool broken with previous commit. Fixed it. Need tests, cannot manually test all features.
This commit is contained in:
parent
ba6879875c
commit
741d145d42
1 changed files with 3 additions and 1 deletions
|
@ -31,7 +31,6 @@ $.namespace("pskl");
|
|||
init : function () {
|
||||
frameSheet = new pskl.model.FrameSheet(framePixelWidth, framePixelHeight);
|
||||
frameSheet.addEmptyFrame();
|
||||
frameSheet.setCurrentFrameIndex(0);
|
||||
|
||||
this.drawingController = new pskl.controller.DrawingController(
|
||||
frameSheet,
|
||||
|
@ -61,6 +60,9 @@ $.namespace("pskl");
|
|||
this.selectionManager =
|
||||
new pskl.selection.SelectionManager(this.drawingController.overlayFrame);
|
||||
|
||||
// DO NOT MOVE THIS LINE (see comment above)
|
||||
frameSheet.setCurrentFrameIndex(0);
|
||||
|
||||
this.animationController.init();
|
||||
this.previewsController.init();
|
||||
|
||||
|
|
Loading…
Reference in a new issue