Skip to content

Commit cedabd3

Browse files
committed
Do not round off the legend location
* Commented out the statements to round off the legend location, in order to reproduce the baseline images.
1 parent 91c7757 commit cedabd3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/legend/draw.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -195,8 +195,8 @@ module.exports = function draw(gd) {
195195
ly -= opts.height / 2;
196196
}
197197

198-
lx = Math.round(lx);
199-
ly = Math.round(ly);
198+
//lx = Math.round(lx);
199+
//ly = Math.round(ly);
200200

201201
// Make sure the legend top and bottom are visible
202202
// (legends with a scroll bar are not allowed to stretch beyond the extended

0 commit comments

Comments
 (0)