File tree Expand file tree Collapse file tree 3 files changed +3
-2
lines changed Expand file tree Collapse file tree 3 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -652,6 +652,7 @@ button.small .icon {
652
652
transition : all 0.25s ;
653
653
pointer-events : none;
654
654
opacity : 0 ;
655
+ text-align : center;
655
656
}
656
657
657
658
# overlay .open {
Original file line number Diff line number Diff line change @@ -1198,7 +1198,7 @@ async function store(state, emitter) {
1198
1198
await serial . uploadFile (
1199
1199
srcPath , destPath ,
1200
1200
( e ) => {
1201
- state . transferringProgress = e
1201
+ state . transferringProgress = ` ${ file . fileName } : ${ e } `
1202
1202
emitter . emit ( 'render' )
1203
1203
}
1204
1204
)
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ function Overlay(state, emit) {
10
10
if ( state . isConnecting ) overlay = html `< div id ="overlay " class ="open "> < p > Connecting...</ p > </ div > `
11
11
if ( state . isLoadingFiles ) overlay = html `< div id ="overlay " class ="open "> < p > Loading files...</ p > </ div > `
12
12
if ( state . isSaving ) overlay = html `< div id ="overlay " class ="open "> < p > Saving file... ${ state . savingProgress } </ p > </ div > `
13
- if ( state . isTransferring ) overlay = html `< div id ="overlay " class ="open "> < p > Transferring file... ${ state . transferringProgress } </ p > </ div > `
13
+ if ( state . isTransferring ) overlay = html `< div id ="overlay " class ="open "> < p > Transferring file< br > < br > ${ state . transferringProgress } </ p > </ div > `
14
14
15
15
return overlay
16
16
}
You can’t perform that action at this time.
0 commit comments