mirror of
https://github.com/IgorTimofeev/MineOS.git
synced 2026-01-06 19:22:40 +01:00
Попизже селекторы
This commit is contained in:
parent
721cf5cccd
commit
532f509038
@ -3938,7 +3938,14 @@ local function dropDownMenuItemDraw(item)
|
||||
if item.pressed then
|
||||
iconColor = item.parent.parent.colors.selected.icon
|
||||
textColor = item.parent.parent.colors.selected.text
|
||||
|
||||
screen.drawRectangle(item.x, yText, item.width, 1, item.parent.parent.colors.selected.background, textColor, " ")
|
||||
|
||||
if item.height > 1 then
|
||||
screen.drawText(item.x, yText - 1, item.parent.parent.colors.selected.background, string.rep("⣤", item.width))
|
||||
screen.drawText(item.x, yText + item.height - 1, item.parent.parent.colors.selected.background, string.rep("⠛", item.width))
|
||||
end
|
||||
|
||||
elseif item.disabled then
|
||||
iconColor = item.parent.parent.colors.disabled.icon
|
||||
textColor = item.parent.parent.colors.disabled.text
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user