Fix prelaunch menu transition post-startup

This commit is contained in:
Irastris
2026-05-02 13:52:20 -04:00
parent 8e21247a97
commit 94670270d6
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -94,7 +94,7 @@ hero img {
decorator: horizontal-gradient(#00000000 #00000000);
}
#menu-list button[anim-done] {
#menu-list button.anim-done {
transition: decorator color 0.1s linear-in-out;
}
+1 -1
View File
@@ -145,7 +145,7 @@ Prelaunch::Prelaunch() : Document(kDocumentSource), mRoot(mDocument->GetElementB
}
if (target == mDocument && !mDocument->HasAttribute("open")) {
Document::hide();
} else if (target->GetTagName() == "button") {
} else if (target->GetTagName() == "button" && !target->IsClassSet("anim-done")) {
target->SetClass("anim-done", true);
}
});