Popup preview : refactor, cross browser, WIP

- moved preview controllers to pskl.controller.preview
- renamed PreviewFilmController to FramesListController
- renamed AnimatedPreviewController to PreviewController
- fixed init of popup preview on IE (use ownerDocument to create
  TiledFrameRenderer container) => should try with innerHTML
- moved open popup button inside the minimap (show on hover)
This commit is contained in:
jdescottes
2015-02-28 10:56:15 +01:00
parent 68a807ccb5
commit bcecd3058b
20 changed files with 260 additions and 136 deletions

View File

@@ -69,7 +69,7 @@
pskl.utils.PiskelFileUtils.loadFromFile(file, function (piskel, descriptor, fps) {
piskel.setDescriptor(descriptor);
pskl.app.piskelController.setPiskel(piskel);
pskl.app.animationController.setFPS(fps);
pskl.app.previewController.setFPS(fps);
});
this.closeDrawer_();
}