removed commented code

This commit is contained in:
juliandescottes 2012-09-08 17:31:48 +02:00
parent a9b01cd7c2
commit 506b54e27b

View File

@ -136,11 +136,6 @@ $.namespace("pskl");
// substract smallest dpi change to initial dpi
dpi -= Math.min(heightGapDpi, widthGapDpi);
}
// var drawingCanvasWidth = dpi * framePixelWidth;
// if (availableViewportWidth - drawingCanvasWidth < previewWidth) {
// dpi -= Math.floor(previewWidth / framePixelWidth);
// }
return dpi;
},