Skip to content

Commit 7552832

Browse files
committed
Update function call
1 parent 0ab7cd1 commit 7552832

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/traces/pie/calc.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ function makePullColorFn(colorMap) {
9090
return function pullColor(color, id) {
9191
if(!color || !Color.isValid(color)) return false;
9292

93-
const newColor = Color.addOpacity(color, color.getAlpha());
93+
const newColor = Color.addOpacity(color, Color.opacity(color));
9494
if(!colorMap[id]) colorMap[id] = newColor;
9595

9696
return newColor;

0 commit comments

Comments
 (0)