scrolling windows

This commit is contained in:
kepler155c@gmail.com
2016-12-14 13:54:13 -05:00
parent 48f16ce2c7
commit e25f4f9319
7 changed files with 87 additions and 97 deletions

View File

@@ -261,6 +261,13 @@ function page:eventHandler(event)
event.focused.parent:scrollIntoView()
end
elseif event.type == 'tab_change' then
if event.current > event.last then
self.container:setTransition('left')
else
self.container:setTransition('right')
end
elseif event.type == 'refresh' then
applications = { }
Config.load('apps', applications)