mirror of
https://github.com/rstudio/shiny.git
synced 2026-02-05 04:05:06 -05:00
Make brush div 1px larger
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user