changes for deprecated ui methods - recolor milo - make turtle scripts run again - mob rancher improvements

This commit is contained in:
kepler155c@gmail.com
2020-04-17 20:41:58 -06:00
parent 3246579ab1
commit 949c485539
39 changed files with 258 additions and 122 deletions

View File

@@ -54,8 +54,8 @@ local page = UI.Page {
limit = 50,
shadowText = 'filter',
shadowTextColor = colors.gray,
backgroundColor = colors.cyan,
backgroundFocusColor = colors.cyan,
backgroundColor = UI.colors.primary,
backgroundFocusColor = UI.colors.primary,
accelerators = {
[ 'enter' ] = 'eject',
[ 'up' ] = 'grid_up',
@@ -66,7 +66,7 @@ local page = UI.Page {
storageStatus = UI.Text {
x = -17, ex = -10,
textColor = colors.lime,
backgroundColor = colors.cyan,
backgroundColor = UI.colors.primary,
value = '',
},
amount = UI.TextEntry {
@@ -208,7 +208,7 @@ end
function page:eventHandler(event)
if event.type == 'quit' then
UI:exitPullEvents()
UI:quit()
elseif event.type == 'eject' or event.type == 'grid_select' then
self:eject(1)