mirror of https://github.com/acidanthera/audk.git
Update select highlight menu logic when opcode is date/time
Signed-off-by: ydong10 Reviewed-by: lgao4 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12720 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
de4b64f714
commit
85aa96cd54
|
@ -2484,6 +2484,10 @@ UiDisplayMenu (
|
|||
}
|
||||
|
||||
if (Link != NewPos || Index > BottomRow || (Link == NewPos && SavedMenuOption->Row + SavedMenuOption->Skip - 1 > BottomRow)) {
|
||||
//
|
||||
// Find the MenuOption which has the skip value for Date/Time opcode.
|
||||
//
|
||||
AdjustDateAndTimePosition(FALSE, &NewPos);
|
||||
//
|
||||
// NewPos is not in the current page, simply scroll page so that NewPos is in the end of the page
|
||||
//
|
||||
|
|
Loading…
Reference in New Issue