Skip to content

Commit

Permalink
Fix - create g for TLine after configuring
Browse files Browse the repository at this point in the history
  • Loading branch information
linev committed Sep 18, 2024
1 parent b22b946 commit 16bb077
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/draw/TLinePainter.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -98,10 +98,10 @@ class TLinePainter extends ObjectPainter {

/** @summary Redraw line */
redraw() {
this.createG(this.use_frame ? 'frame2d' : undefined);

this.prepareDraw();

this.createG(this.use_frame ? 'frame2d' : undefined);

const elem = this.draw_g.append('svg:path')
.attr('d', this.createPath())
.call(this.lineatt.func);
Expand Down

0 comments on commit 16bb077

Please sign in to comment.