mirror of
https://github.com/piskelapp/piskel.git
synced 2023-08-10 21:12:52 +03:00
fixed small bug during resize
This commit is contained in:
parent
4fe72043ab
commit
ed2e65508a
|
@ -26,7 +26,7 @@
|
|||
this.overlayRenderer.updateDPI(newDPI);
|
||||
|
||||
this.renderer.render(this.frame);
|
||||
this.overlayRenderer.render(this.frame);
|
||||
this.overlayRenderer.render(this.overlayFrame);
|
||||
};
|
||||
|
||||
ns.DrawingController.prototype.renderFrame = function () {
|
||||
|
|
|
@ -12,8 +12,6 @@
|
|||
// Stroke's first point coordinates (set in applyToolAt)
|
||||
this.startCol = null;
|
||||
this.startRow = null;
|
||||
|
||||
this.canvasOverlay = null;
|
||||
};
|
||||
|
||||
pskl.utils.inherit(ns.Move, ns.BaseTool);
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
var ns = $.namespace("pskl.model");
|
||||
|
||||
ns.Frame = function (pixels) {
|
||||
this.pixels = this.clonePixels_(pixels);
|
||||
this.pixels = pixels;
|
||||
this.previousStates = [this.getPixels()];
|
||||
this.stateIndex = 0;
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue
Block a user