File tree 1 file changed +3
-2
lines changed
1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -557,6 +557,7 @@ function makeSubplotData(gd) {
557
557
}
558
558
559
559
function makeSubplotLayer ( gd , plotinfo ) {
560
+ var fullLayout = gd . _fullLayout ;
560
561
var plotgroup = plotinfo . plotgroup ;
561
562
var id = plotinfo . id ;
562
563
@@ -565,9 +566,9 @@ function makeSubplotLayer(gd, plotinfo) {
565
566
566
567
var xLayer = constants . layerValue2layerClass [ plotinfo . xaxis . layer ] ;
567
568
var yLayer = constants . layerValue2layerClass [ plotinfo . yaxis . layer ] ;
568
- var hasOnlyLargeSploms = gd . _fullLayout . _hasOnlyLargeSploms ;
569
+ var hasOnlyLargeSploms = fullLayout . _hasOnlyLargeSploms ;
569
570
570
- if ( ! plotinfo . mainplot ) {
571
+ if ( ! plotinfo . mainplot || fullLayout . _zindices . length > 1 ) {
571
572
if ( hasOnlyLargeSploms ) {
572
573
// TODO could do even better
573
574
// - we don't need plot (but we would have to mock it in lsInner
You can’t perform that action at this time.
0 commit comments