We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3eda9e8 commit 999fe60Copy full SHA for 999fe60
scripts/JSRootGeoPainter.js
@@ -1410,8 +1410,12 @@
1410
1411
if (visible) {
1412
var _transparent = false, _opacity = 1.0;
1413
+ if ((volume.fFillColor > 1) && (volume.fLineColor == 1))
1414
+ prop.fillcolor = JSROOT.Painter.root_colors[volume.fFillColor];
1415
+ else
1416
if (volume.fLineColor >= 0)
1417
prop.fillcolor = JSROOT.Painter.root_colors[volume.fLineColor];
1418
+
1419
if (('fMedium' in volume) && (volume.fMedium !== null) &&
1420
('fMaterial' in volume.fMedium) && (volume.fMedium.fMaterial !== null)) {
1421
var fillstyle = volume.fMedium.fMaterial.fFillStyle;
0 commit comments