Layers:Minor style changes

This commit is contained in:
jdescottes 2013-09-29 23:33:40 +02:00
parent b3d1cc5ea6
commit 90f2fac2d3

View File

@ -328,12 +328,13 @@
*/
ns.DrawingController.prototype.updateDPI_ = function() {
var dpi = this.calculateDPI_();
this.overlayRenderer.updateDPI(dpi);
this.renderer.updateDPI(dpi);
this.layersAboveRenderer.updateDPI(dpi);
this.layersBelowRenderer.updateDPI(dpi);
this.serializedLayerFrame ="";
this.serializedLayerFrame = "";
var currentFrameHeight = this.piskelController.getCurrentFrame().getHeight();
var canvasHeight = currentFrameHeight * dpi;