Skip to content

Commit cceee49

Browse files
committed
drop stroke-linejoin
1 parent 6dad958 commit cceee49

File tree

5 files changed

+2
-5
lines changed

5 files changed

+2
-5
lines changed

src/traces/treemap/plot.js

+2-5
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,9 @@ module.exports = function(gd, cdmodule, transitionOpts, makeOnCompleteCallback)
3333
join = layer.selectAll('g.trace.treemap')
3434
.data(cdmodule, function(cd) { return cd[0].trace.uid; });
3535

36-
// using same 'stroke-linejoin' as pie traces
3736
join.enter().append('g')
3837
.classed('trace', true)
39-
.classed('treemap', true)
40-
.attr('stroke-linejoin', 'round');
41-
38+
.classed('treemap', true);
4239
join.order();
4340

4441
if(hasTransition(transitionOpts)) {
@@ -104,7 +101,7 @@ function plotOne(gd, cd, element, transitionOpts) {
104101
y0 = 0;
105102
y1 = height;
106103
} else {
107-
var ref = clicked.zoomOut ? refRect : prevLookdown[clicked.id] || prevLookup[clicked.id];
104+
var ref = clicked.zoomOut ? refRect : (prevLookdown[clicked.id] || prevLookup[clicked.id]);
108105

109106
var e = trace.tiling.pad;
110107
var isLeftOfRect = function(x) { return x - e <= ref.x0; };
-146 Bytes
Loading
60 Bytes
Loading
1 Byte
Loading
-175 Bytes
Loading

0 commit comments

Comments
 (0)