File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -557,6 +557,7 @@ function makeSubplotData(gd) {
557557}
558558
559559function makeSubplotLayer ( gd , plotinfo ) {
560+ var fullLayout = gd . _fullLayout ;
560561 var plotgroup = plotinfo . plotgroup ;
561562 var id = plotinfo . id ;
562563
@@ -565,9 +566,9 @@ function makeSubplotLayer(gd, plotinfo) {
565566
566567 var xLayer = constants . layerValue2layerClass [ plotinfo . xaxis . layer ] ;
567568 var yLayer = constants . layerValue2layerClass [ plotinfo . yaxis . layer ] ;
568- var hasOnlyLargeSploms = gd . _fullLayout . _hasOnlyLargeSploms ;
569+ var hasOnlyLargeSploms = fullLayout . _hasOnlyLargeSploms ;
569570
570- if ( ! plotinfo . mainplot ) {
571+ if ( ! plotinfo . mainplot || fullLayout . _zindices . length > 1 ) {
571572 if ( hasOnlyLargeSploms ) {
572573 // TODO could do even better
573574 // - 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