mirror of
https://github.com/IgorTimofeev/MineOS.git
synced 2025-12-20 11:09:21 +01:00
ХАЧУ ЗВЁЗДАЧКИ
This commit is contained in:
parent
c8c9745df6
commit
eb40203d34
@ -377,7 +377,7 @@ end
|
|||||||
local function ratingWidgetDraw(object)
|
local function ratingWidgetDraw(object)
|
||||||
local x = 0
|
local x = 0
|
||||||
for i = 1, 5 do
|
for i = 1, 5 do
|
||||||
screen.drawText(object.x + x, object.y, object.rating >= i and object.colors.first or object.colors.second, "*")
|
screen.drawText(object.x + x, object.y, object.rating >= i and object.colors.first or object.colors.second, "★")
|
||||||
x = x + object.spacing
|
x = x + object.spacing
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user