Fix height/width calculation of brush div

This commit is contained in:
Winston Chang
2015-04-11 00:52:20 -05:00
parent 55cbd72a47
commit d925702b98

View File

@@ -828,8 +828,8 @@ imageutils.createBrush = function($el, opts, mapper) {
top: imgOffset.top + b.ymin,
left: imgOffset.left + b.xmin
})
.width(b.xmax - b.xmin)
.height(b.ymax - b.ymin)
.outerWidth(b.xmax - b.xmin)
.outerHeight(b.ymax - b.ymin)
.show();
}