Skip to content

Commit a40fac8

Browse files
authored
Merge pull request #1 from lucapinello/lucapinello-patch-1
Fixed the per-element opacity on Surface plots
2 parents 50bbb7e + af0ccca commit a40fac8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/gl_format_color.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ function parseColorScale(cont, alpha) {
9191
var rgb = color.toRgb();
9292
return {
9393
index: index,
94-
rgb: [rgb.r, rgb.g, rgb.b, alpha]
94+
rgb: [rgb.r, rgb.g, rgb.b, rgb.a]
9595
};
9696
});
9797
}

0 commit comments

Comments
 (0)