提交 99db622f 编写于 作者: M MikeBeaton

OpenCanopy: Fix animation linked list behaviour on Canopy restart

上级 b8d552f1
......@@ -136,7 +136,7 @@ InternalBootPickerAnimateLabel (
}
STATIC GUI_ANIMATION mBootPickerLabelAnimation = {
INITIALIZE_LIST_HEAD_VARIABLE (mBootPickerLabelAnimation.Link),
{ NULL, NULL },
NULL,
InternalBootPickerAnimateLabel
};
......@@ -1831,7 +1831,7 @@ InternalBootPickerAnimateTimeout (
}
STATIC GUI_ANIMATION mBootPickerIntroAnimation = {
INITIALIZE_LIST_HEAD_VARIABLE (mBootPickerIntroAnimation.Link),
{ NULL, NULL },
NULL,
InternalBootPickerAnimateIntro
};
......@@ -1990,6 +1990,8 @@ BootPickerViewInitialize (
// Conditions for delta function:
//
InitializeListHead (&mBootPickerLabelAnimation.Link);
if (!GuiContext->DoneIntroAnimation) {
InitBpAnimIntro (DrawContext);
InsertHeadList (&DrawContext->Animations, &mBootPickerIntroAnimation.Link);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册