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

OpenCanopy: Fix animation linked list behaviour on Canopy restart

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