Skip to content

Commit f068cb2

Browse files
committed
set Color.addOpacity(trace._backgroundColor, 0.75)
... in `marker.depthfade` implementation.
1 parent 429324d commit f068cb2

14 files changed

+1
-1
lines changed

src/traces/treemap/style.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ function styleOne(s, pt, trace, opts) {
4646
var isRoot = helpers.isHierarchyRoot(pt);
4747

4848
if(!pt.onPathbar && !trace._hasColorscale && trace.marker.depthfade) {
49-
var fadedColor = Color.combine(Color.addOpacity(trace._backgroundColor, 1), fillColor);
49+
var fadedColor = Color.combine(Color.addOpacity(trace._backgroundColor, 0.75), fillColor);
5050

5151
// option 1 | using the height from the top
5252
var maxDepth = helpers.getMaxDepth(trace);
97 Bytes
Loading
981 Bytes
Loading
25 Bytes
Loading
464 Bytes
Loading
-18 Bytes
Loading
1.14 KB
Loading
1.41 KB
Loading
225 Bytes
Loading
-54 Bytes
Loading

0 commit comments

Comments
 (0)