Commit 99b30f0c authored by bbaer's avatar bbaer
Browse files

Added some comments

parent 9ee7b33c
......@@ -750,7 +750,6 @@ $(function (n) {
break;
case "write":
case "rectangle":
break;
case "move":
break;
case "delete":
......@@ -791,6 +790,8 @@ $(function (n) {
this.exportToPNG(oldHeight, oldWidth, rotated);
};
// Resizes export image if resizing is set. Doesn't resize if original image
// is smaller than the resize size. Returns an object with width and height.
n.Fabric.prototype.calculateImageSize = function() {
var img = { width: this.imageWidth, height: this.imageHeight };
if (this.resizeWidth !== 0) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment