Skip to content

Commit 79c0bc6

Browse files
committed
Fix - resize of stacked 3D drawings (TH1 and TH2)
1 parent 91f69d7 commit 79c0bc6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/JSRoot3DPainter.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2589,7 +2589,7 @@
25892589

25902590
if (resize) {
25912591

2592-
if (this.Resize3D()) this.Render3D();
2592+
if ((main === this) && (this.Resize3D !== undefined) && this.Resize3D()) this.Render3D();
25932593

25942594
} else {
25952595

@@ -2629,7 +2629,7 @@
26292629

26302630
if (resize) {
26312631

2632-
if (this.Resize3D()) this.Render3D();
2632+
if ((main === this) && (this.Resize3D !== undefined) && this.Resize3D()) this.Render3D();
26332633

26342634
} else {
26352635

0 commit comments

Comments
 (0)