File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -31,13 +31,15 @@ export class NavigraphLogin extends DisplayComponent<NavigraphLoginProps> {
31
31
this . commBusListener . on ( "NAVIGRAPH_NavdataDownloaded" , ( ) => {
32
32
console . info ( "WASM downloaded navdata" )
33
33
this . navdataTextRef . instance . textContent = "Navdata downloaded!"
34
+ this . navdataTextRef . instance . style . color = "white"
34
35
} )
35
36
36
37
this . commBusListener . on ( "NAVIGRAPH_UnzippedFilesRemaining" , ( jsonArgs : string ) => {
37
38
const args = JSON . parse ( jsonArgs )
38
39
console . info ( "WASM unzipping files" , args )
39
40
const percent = Math . round ( ( args . unzipped / args . total ) * 100 )
40
41
this . navdataTextRef . instance . textContent = `Unzipping files... ${ percent } % complete`
42
+ this . navdataTextRef . instance . style . color = "white"
41
43
} )
42
44
43
45
this . commBusListener . on ( "NAVIGRAPH_DownloadFailed" , ( jsonArgs : string ) => {
@@ -137,6 +139,7 @@ export class NavigraphLogin extends DisplayComponent<NavigraphLoginProps> {
137
139
} ) ,
138
140
)
139
141
this . navdataTextRef . instance . textContent = "Downloading navdata..."
142
+ this . navdataTextRef . instance . style . color = "white"
140
143
} )
141
144
. catch ( e => console . error ( e ) )
142
145
}
You can’t perform that action at this time.
0 commit comments