forked from hkc/cc-stuff
Maybe make spinner slower instead..?
This commit is contained in:
parent
55ce35743e
commit
c75075ae9c
|
@ -380,7 +380,7 @@ function()
|
|||
local timeString = string.format("[%s:%s]", time2str(time), time2str(duration))
|
||||
if drive.getState() ~= "STOPPED" then
|
||||
term.setTextColor(mplayer.colors.status)
|
||||
local speen = spinner[(math.floor(drive.getPosition() / 600) % #spinner) + 1]
|
||||
local speen = spinner[(math.floor(drive.getPosition() / 3000) % #spinner) + 1]
|
||||
local action = ""
|
||||
if drive.getState() == "PLAYING" then action = "Playing:"
|
||||
elseif drive.getState() == "REWINDING" then action = "Rewinding"
|
||||
|
@ -418,7 +418,7 @@ function()
|
|||
term.setTextColor(mplayer.colors.status)
|
||||
term.setCursorPos(tw - #timeString + 1, th)
|
||||
term.write(timeString)
|
||||
os.sleep(0.05)
|
||||
os.sleep(0.1)
|
||||
end
|
||||
end,
|
||||
function()
|
||||
|
|
Loading…
Reference in New Issue