File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff 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);
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments