simplify ui

This commit is contained in:
kepler155c
2017-10-11 11:36:56 -04:00
parent ed2d6eeef1
commit 980c635037
4 changed files with 29 additions and 7 deletions

View File

@@ -125,7 +125,8 @@ local page = UI.Page {
fn = 'turtle.turnRight',
},
info = UI.TextArea {
x = 2, y = 9
x = 2, y = 9,
inactive = true,
}
},
},
@@ -379,7 +380,7 @@ local lookup = {
}
if lookup[options.tab.value] then
page.tabs:activateTab(lookup[options.tab.value])
page.tabs:activateTab(lookup[options.tab.value].uid)
end
UI:pullEvents()