mirror of
https://github.com/kepler155c/opus
synced 2025-12-17 13:48:05 +00:00
Cleanup
This commit is contained in:
@@ -157,6 +157,7 @@ local page = UI.Page {
|
||||
f = 'files',
|
||||
s = 'shell',
|
||||
l = 'lua',
|
||||
n = 'network',
|
||||
[ 'control-n' ] = 'new',
|
||||
delete = 'delete',
|
||||
},
|
||||
@@ -435,6 +436,9 @@ function page:eventHandler(event)
|
||||
elseif event.type == 'files' then
|
||||
shell.switchTab(shell.openTab(Alt.get('files')))
|
||||
|
||||
elseif event.type == 'network' then
|
||||
shell.switchTab(shell.openTab('network'))
|
||||
|
||||
elseif event.type == 'focus_change' then
|
||||
if event.focused.parent.UIElement == 'Icon' then
|
||||
event.focused.parent:scrollIntoView()
|
||||
|
||||
Reference in New Issue
Block a user