Skip to content

Commit 55e58c6

Browse files
committed
Fix - drop with same option if main painter found
1 parent 8e9a9ef commit 55e58c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/gui/HierarchyPainter.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2251,7 +2251,7 @@ class HierarchyPainter extends BasePainter {
22512251
const cp = getElementCanvPainter(dom);
22522252

22532253
if (cp) {
2254-
if (sett?.has_same)
2254+
if (sett?.has_same && mp)
22552255
opt = 'same ' + opt;
22562256
} else
22572257
this.cleanupFrame(dom);

0 commit comments

Comments
 (0)