Fix small navbar flicker issue
This commit is contained in:
1 parent
d357a366e6
commit
9143185a30
2 files changed
+2
-1
No files matched your search
@@ -16,7 +16,6 @@ end function
|
||||
|
||||
function OnNodeReady()
|
||||
m.lastItemFocused = m.itemsList.itemFocused
|
||||
m.top.observeField("focusedChild", FuncName(OnFocusedChildChange))
|
||||
m.itemsList.observeField("focusedChild", FuncName(OnListFirstFocus))
|
||||
|
||||
' NavBar should be resized after the content is changed.
|
||||
@@ -60,6 +59,7 @@ function OnListFirstFocus() as void
|
||||
m.itemsList.jumpToItem = initialFocus
|
||||
end if
|
||||
m.itemsList.observeField("itemFocused", FuncName(OnItemFocused))
|
||||
m.top.observeField("focusedChild", FuncName(OnFocusedChildChange))
|
||||
end function
|
||||
|
||||
function OnFocusedChildChange() as void
|
||||
|
||||
@@ -37,6 +37,7 @@
|
||||
width="106"
|
||||
height="42"
|
||||
translation="[20, 48]"
|
||||
opacity="0"
|
||||
uri="pkg:/images/logo-dark.png" />
|
||||
|
||||
<MarkupList
|
||||
|
||||
Reference in new issue
Block a user