Skip to content

Commit 559986c

Browse files
committed
Do not draw pave with dummy frame
1 parent ec1660c commit 559986c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

modules/hist/TPavePainter.mjs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,11 @@ class TPavePainter extends ObjectPainter {
167167
opt = this.getPaveDrawOption().toUpperCase(),
168168
fp = this.getFramePainter(), pp = this.getPadPainter(),
169169
pad = pp.getRootPad(true);
170+
171+
// special handling of dummy frame painter
172+
if (fp?.getDrawDom() === null)
173+
return this;
174+
170175
let interactive_element, width, height;
171176

172177
if (pt.fInit === 0) {

0 commit comments

Comments
 (0)