mirror of
https://github.com/rstudio/shiny.git
synced 2026-02-05 12:15:14 -05:00
Fix height/width calculation of brush div
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user