mirror of
https://github.com/kepler155c/opus
synced 2025-02-09 05:20:04 +00:00
better options icon
This commit is contained in:
parent
5ae6434d62
commit
f5294d4fce
@ -60,7 +60,7 @@ local Browser = UI.Page {
|
|||||||
{ text = 'Hidden ^h', event = 'toggle_hidden' },
|
{ text = 'Hidden ^h', event = 'toggle_hidden' },
|
||||||
{ text = 'Dir Size ^s', event = 'toggle_dirSize' },
|
{ text = 'Dir Size ^s', event = 'toggle_dirSize' },
|
||||||
} },
|
} },
|
||||||
{ text = '\206',
|
{ text = '\187',
|
||||||
x = -3,
|
x = -3,
|
||||||
dropdown = {
|
dropdown = {
|
||||||
{ text = 'Associations', event = 'associate' },
|
{ text = 'Associations', event = 'associate' },
|
||||||
|
@ -45,7 +45,7 @@ local page = UI.Page {
|
|||||||
} },
|
} },
|
||||||
{ text = 'Help', event = 'help', noCheck = true },
|
{ text = 'Help', event = 'help', noCheck = true },
|
||||||
{
|
{
|
||||||
text = '\206',
|
text = '\187',
|
||||||
x = -3,
|
x = -3,
|
||||||
dropdown = {
|
dropdown = {
|
||||||
{ text = 'Show all', event = 'show_all', noCheck = true },
|
{ text = 'Show all', event = 'show_all', noCheck = true },
|
||||||
|
@ -802,7 +802,7 @@ function turtle.has(item, count)
|
|||||||
return slot and slot.count >= (count or 1)
|
return slot and slot.count >= (count or 1)
|
||||||
end
|
end
|
||||||
local slot = turtle.getSlot(item)
|
local slot = turtle.getSlot(item)
|
||||||
return slot and slot.count > 0
|
return slot and slot.count >= (count or 1)
|
||||||
end
|
end
|
||||||
|
|
||||||
function turtle.getFilledSlots(startSlot)
|
function turtle.getFilledSlots(startSlot)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user