mirror of
https://github.com/koreader/koreader.git
synced 2025-12-13 20:36:53 +01:00
Misc: Some more FocusManager fallout (#12667)
Don't show initial focus in KVP & CalendarView Fix https://github.com/koreader/koreader/pull/12583#issuecomment-2427403108
This commit is contained in:
@@ -1440,7 +1440,7 @@ function CalendarView:_populateItems()
|
||||
for _, week in ipairs(self.weeks) do
|
||||
week:update()
|
||||
end
|
||||
self:moveFocusTo(1, 1, FocusManager.NOT_UNFOCUS)
|
||||
self:moveFocusTo(1, 1, bit.bor(FocusManager.FOCUS_ONLY_ON_NT, FocusManager.NOT_UNFOCUS))
|
||||
UIManager:setDirty(self, function()
|
||||
return "ui", self.dimen
|
||||
end)
|
||||
|
||||
Reference in New Issue
Block a user