diff --git a/css/preview-animation-section.css b/css/preview-animation-section.css index a4203aa0..152ce32e 100644 --- a/css/preview-animation-section.css +++ b/css/preview-animation-section.css @@ -2,7 +2,7 @@ .preview-container { position : absolute; bottom : 0; right : 0; - height : 285px; + height : 282px; width : 256px; background : white; border : 0px Solid black; @@ -12,7 +12,6 @@ .preview-container canvas { border : 0px Solid transparent; - border-radius:5px 0px 0px 5px; } #preview-fps { diff --git a/js/controller/DrawingController.js b/js/controller/DrawingController.js index 7e2303b9..3509ef2f 100644 --- a/js/controller/DrawingController.js +++ b/js/controller/DrawingController.js @@ -205,8 +205,6 @@ ns.DrawingController.prototype.renderFrame = function () { var frame = this.framesheet.getCurrentFrame(); - console.log("render", frame.getHeight()); - if (frame.getHeight() == 32) debugger; var serializedFrame = frame.serialize(); if (this.serializedFrame != serializedFrame) { this.serializedFrame = serializedFrame; @@ -250,7 +248,7 @@ // Calculate the DPI change needed to bridge height and width gap var gapDPI = pskl.PixelUtils.calculateDPI(heightGap, widthGap, framePixelHeight, framePixelWidth); // substract gap dpi to initial dpi - dpi -= (gapDPI - 1); + dpi -= (gapDPI + 1); } return dpi; };