File tree Expand file tree Collapse file tree 1 file changed +0
-8
lines changed
libs/soba/loaders/src/lib Expand file tree Collapse file tree 1 file changed +0
-8
lines changed Original file line number Diff line number Diff line change @@ -79,11 +79,6 @@ export class NgtsLoader {
7979 shown = signal ( this . initialState ( ) ( this . active ( ) ) ) ;
8080
8181 constructor ( ) {
82- this . setShown ( ) ;
83- this . updateProgress ( ) ;
84- }
85-
86- private setShown ( ) {
8782 effect ( ( onCleanup ) => {
8883 const [ active , lastShown ] = [ this . active ( ) , untracked ( this . shown ) ] ;
8984 if ( lastShown !== active ) {
@@ -93,12 +88,9 @@ export class NgtsLoader {
9388 onCleanup ( ( ) => clearTimeout ( timeoutId ) ) ;
9489 }
9590 } ) ;
96- }
9791
98- private updateProgress ( ) {
9992 let progressRef = 0 ;
10093 let rafId : ReturnType < typeof requestAnimationFrame > ;
101-
10294 effect ( ( onCleanup ) => {
10395 const [ dataInterpolation , progress ] = [ this . dataInterpolation ( ) , this . progress ( ) ] ;
10496 const updateProgress = ( ) => {
You can’t perform that action at this time.
0 commit comments