mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-07-09 20:41:29 -04:00
Fix prelaunch menu transition post-startup
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user