This commit is contained in:
Ksaper 2023-02-05 15:58:18 +02:00
parent 458cd3c8e7
commit 7a5585201e
1 changed files with 2 additions and 2 deletions

View File

@ -388,7 +388,7 @@ local function page_backward(self, dir)
elseif self.wrap_page_scrolling and #self._private.matched_entries >= self._private.max_apps_per_page then
self._private.current_page = self._private.pages_count
elseif self.wrap_app_scrolling then
local app = self._private.grid.children{#self._private.grid.children}
local app = self._private.grid.children[#self._private.grid.children]
app:select()
return
else
@ -413,7 +413,7 @@ local function page_backward(self, dir)
local rows, columns = self._private.grid:get_dimension()
if self._private.current_page < self._private.pages_count then
if dir == "up" then
local app = self._private.grid.children{#self._private.grid.children}
local app = self._private.grid.children[#self._private.grid.children]
app:select()
else
-- Keep the same row from last page