mirror of
https://github.com/piskelapp/piskel.git
synced 2023-08-10 21:12:52 +03:00
Layers:Minor style changes
This commit is contained in:
parent
b3d1cc5ea6
commit
90f2fac2d3
@ -328,12 +328,13 @@
|
|||||||
*/
|
*/
|
||||||
ns.DrawingController.prototype.updateDPI_ = function() {
|
ns.DrawingController.prototype.updateDPI_ = function() {
|
||||||
var dpi = this.calculateDPI_();
|
var dpi = this.calculateDPI_();
|
||||||
|
|
||||||
this.overlayRenderer.updateDPI(dpi);
|
this.overlayRenderer.updateDPI(dpi);
|
||||||
this.renderer.updateDPI(dpi);
|
this.renderer.updateDPI(dpi);
|
||||||
|
|
||||||
this.layersAboveRenderer.updateDPI(dpi);
|
this.layersAboveRenderer.updateDPI(dpi);
|
||||||
this.layersBelowRenderer.updateDPI(dpi);
|
this.layersBelowRenderer.updateDPI(dpi);
|
||||||
this.serializedLayerFrame ="";
|
|
||||||
|
this.serializedLayerFrame = "";
|
||||||
|
|
||||||
var currentFrameHeight = this.piskelController.getCurrentFrame().getHeight();
|
var currentFrameHeight = this.piskelController.getCurrentFrame().getHeight();
|
||||||
var canvasHeight = currentFrameHeight * dpi;
|
var canvasHeight = currentFrameHeight * dpi;
|
||||||
|
Loading…
Reference in New Issue
Block a user