Add scroll signal
This commit is contained in:
parent
c45e64b795
commit
af15c9bc7a
|
@ -228,6 +228,7 @@ local function scroll(self, dir)
|
||||||
if can_scroll then
|
if can_scroll then
|
||||||
local app = gtable.cycle_value(self:get_grid().children, self._private.active_widget, step_size)
|
local app = gtable.cycle_value(self:get_grid().children, self._private.active_widget, step_size)
|
||||||
app:select()
|
app:select()
|
||||||
|
self:emit_signal("scroll", dir)
|
||||||
else
|
else
|
||||||
if_cant_scroll_func()
|
if_cant_scroll_func()
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue