remove whatsnew after close animation has played

This commit is contained in:
SethBurkart123
2023-10-11 18:47:58 +11:00
parent a614440bef
commit c9e029643a
2 changed files with 4 additions and 2 deletions
+3 -1
View File
@@ -238,7 +238,9 @@ async function DeleteWhatsNew() {
[popup, bkelement],
{ scale: [1, 0], opacity: [1, 0] },
{ easing: spring({ stiffness: 220, damping: 18 }) }
);
).finished.then(() => {
bkelement.remove();
});
}
export function CreateBackground() {