whoops
This commit is contained in:
parent
458cd3c8e7
commit
7a5585201e
|
@ -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
|
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
|
self._private.current_page = self._private.pages_count
|
||||||
elseif self.wrap_app_scrolling then
|
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()
|
app:select()
|
||||||
return
|
return
|
||||||
else
|
else
|
||||||
|
@ -413,7 +413,7 @@ local function page_backward(self, dir)
|
||||||
local rows, columns = self._private.grid:get_dimension()
|
local rows, columns = self._private.grid:get_dimension()
|
||||||
if self._private.current_page < self._private.pages_count then
|
if self._private.current_page < self._private.pages_count then
|
||||||
if dir == "up" 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()
|
app:select()
|
||||||
else
|
else
|
||||||
-- Keep the same row from last page
|
-- Keep the same row from last page
|
||||||
|
|
Loading…
Reference in New Issue