File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
packages/core/src/components/chart Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -96,6 +96,6 @@ export class Bar extends BaseThree {
9696 }
9797 update ( ) { }
9898 dispose ( ) : void {
99- this . cssRender . dispose ( ) ;
99+ this . cssRender ? .dispose ( ) ;
100100 }
101101}
Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ export class Map3D extends BaseThree {
4040 new Tooltip ( instance , this . group , this . config . tooltip )
4141 }
4242 this . group . position . set ( config . position ?. x || 0 , config . position ?. y || 0 , config . position ?. z || 0 ) ;
43- this . group . scale . set ( config . scale ?. x || 0 , config . scale ?. y || 0 , config . scale ?. z || 0 )
43+ this . group . scale . set ( config ? .scale ?. x || 1 , config ? .scale ?. y || 1 , config ? .scale ?. z || 1 )
4444 this . group . rotateX ( config . rotation ?. x || 0 ) ;
4545 this . group . rotateY ( config . rotation ?. y || 0 ) ;
4646 this . group . rotateZ ( config . rotation ?. z || 0 ) ;
You can’t perform that action at this time.
0 commit comments