Skip to content

Commit b7a2ce9

Browse files
committed
Fix - use frame border size and mode
Was ignored up to now
1 parent 4c3e9fe commit b7a2ce9

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

modules/gpad/TFramePainter.mjs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2514,6 +2514,11 @@ class TFramePainter extends FrameInteractive {
25142514
this.fillatt.setSolidColor('white');
25152515
else if ((pad?.fFillStyle === 4000) && !this.fillatt.empty()) // special case of transpad.C macro, which set transparent pad
25162516
this.fillatt.setOpacity(0);
2517+
2518+
if (pad && (pad.fFrameBorderMode || (pad.fFrameBorderSize !== 1))) {
2519+
this.#border_mode = pad.fFrameBorderMode;
2520+
this.#border_size = pad.fFrameBorderSize;
2521+
}
25172522
}
25182523

25192524
if (!tframe && (pad?.fFrameLineColor !== undefined))

0 commit comments

Comments
 (0)