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 {
79
79
shown = signal ( this . initialState ( ) ( this . active ( ) ) ) ;
80
80
81
81
constructor ( ) {
82
- this . setShown ( ) ;
83
- this . updateProgress ( ) ;
84
- }
85
-
86
- private setShown ( ) {
87
82
effect ( ( onCleanup ) => {
88
83
const [ active , lastShown ] = [ this . active ( ) , untracked ( this . shown ) ] ;
89
84
if ( lastShown !== active ) {
@@ -93,12 +88,9 @@ export class NgtsLoader {
93
88
onCleanup ( ( ) => clearTimeout ( timeoutId ) ) ;
94
89
}
95
90
} ) ;
96
- }
97
91
98
- private updateProgress ( ) {
99
92
let progressRef = 0 ;
100
93
let rafId : ReturnType < typeof requestAnimationFrame > ;
101
-
102
94
effect ( ( onCleanup ) => {
103
95
const [ dataInterpolation , progress ] = [ this . dataInterpolation ( ) , this . progress ( ) ] ;
104
96
const updateProgress = ( ) => {
You can’t perform that action at this time.
0 commit comments