Skip to content

Commit 01da4f6

Browse files
committed
Build with TLine fix
1 parent 3c37d04 commit 01da4f6

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

build/jsroot.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -114996,11 +114996,13 @@ class TLinePainter extends ObjectPainter {
114996114996

114997114997
this.isndc = line.TestBit(kLineNDC);
114998114998

114999-
this.use_frame = this.isndc ? false : new DrawOptions(this.getDrawOpt()).check('FRAME');
114999+
const use_frame = this.isndc ? false : new DrawOptions(this.getDrawOpt()).check('FRAME');
115000115000

115001-
this.swap_xy = this.use_frame && this.getFramePainter()?.swap_xy;
115001+
this.createG(use_frame ? 'frame2d' : undefined);
115002115002

115003-
const func = this.getAxisToSvgFunc(this.isndc, true, true);
115003+
this.swap_xy = use_frame && this.getFramePainter()?.swap_xy;
115004+
115005+
const func = this.getAxisToSvgFunc(this.isndc, true);
115004115006

115005115007
this.x1 = func.x(line.fX1);
115006115008
this.y1 = func.y(line.fY1);
@@ -115026,8 +115028,6 @@ class TLinePainter extends ObjectPainter {
115026115028
redraw() {
115027115029
this.prepareDraw();
115028115030

115029-
this.createG(this.use_frame ? 'frame2d' : undefined);
115030-
115031115031
const elem = this.draw_g.append('svg:path')
115032115032
.attr('d', this.createPath())
115033115033
.call(this.lineatt.func);

0 commit comments

Comments
 (0)