Make brush div 1px larger

This commit is contained in:
Winston Chang
2015-04-20 15:04:31 -05:00
parent 57f33109b2
commit 85b2fc503d

View File

@@ -1085,8 +1085,8 @@ imageutils.createBrush = function($el, opts, coordmap, expandPixels) {
top: imgOffset.top + b.ymin,
left: imgOffset.left + b.xmin
})
.outerWidth(b.xmax - b.xmin)
.outerHeight(b.ymax - b.ymin)
.outerWidth(b.xmax - b.xmin + 1)
.outerHeight(b.ymax - b.ymin + 1)
.show();
}