Fix launch cache sanitization and progress layout
This commit is contained in:
@@ -125,6 +125,10 @@ async function logoutSelectedAccount(){
|
||||
* @param {boolean} loading True if the loading area should be shown, otherwise false.
|
||||
*/
|
||||
function toggleLaunchArea(loading){
|
||||
if(typeof syncLaunchDetailWidths === 'function'){
|
||||
syncLaunchDetailWidths()
|
||||
}
|
||||
|
||||
if(loading){
|
||||
launch_details.style.display = 'flex'
|
||||
launch_content.style.display = 'none'
|
||||
@@ -132,6 +136,12 @@ function toggleLaunchArea(loading){
|
||||
launch_details.style.display = 'none'
|
||||
launch_content.style.display = 'inline-flex'
|
||||
}
|
||||
|
||||
window.requestAnimationFrame(() => {
|
||||
if(typeof syncLaunchDetailWidths === 'function'){
|
||||
syncLaunchDetailWidths()
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user