fixed small bug during resize

This commit is contained in:
juliandescottes 2012-09-08 17:54:41 +02:00
parent 4fe72043ab
commit ed2e65508a
3 changed files with 2 additions and 4 deletions

View File

@ -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 () {

View File

@ -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);

View File

@ -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;
};