1
0
Fork 0
mirror of https://fem.mint.lgbt/m/Rhythmblock.git synced 2024-08-14 20:27:11 +00:00

fixed some bugs and reformatted the play button correctly

This commit is contained in:
mint 2021-05-07 00:52:48 -04:00
parent d17f78e679
commit 34cbbdae9f

View file

@ -1,7 +1,7 @@
accentColor = colors.gray accentColor = colors.gray
buttonColor = colors.lightGray buttonColor = colors.lightGray
textColor = color.lightGray textColor = colors.lightGray
altTextColor = color.gray altTextColor = colors.gray
backgroundColor = colors.black backgroundColor = colors.black
function round(n) function round(n)
@ -64,10 +64,10 @@ function stopDisc()
end end
function renderPlayButton() function renderPlayButton()
paintutils.drawFilledBox(centerWidth - 4, centerHeight - 4, centerWidth + 5, centerHeight + 3, accentColor) paintutils.drawFilledBox(centerWidth - 4, centerHeight - 4, centerWidth + 4, centerHeight + 2, accentColor)
paintutils.drawFilledBox(centerWidth - 2, centerHeight - 3, centerWidth - 1, centerHeight + 1, buttonColor) paintutils.drawFilledBox(centerWidth - 2, centerHeight - 3, centerWidth - 1, centerHeight + 1, buttonColor)
paintutils.drawFilledBox(centerWidth, centerHeight - 2, centerWidth + 1, centerHeight - 1, buttonColor) paintutils.drawFilledBox(centerWidth, centerHeight - 2, centerWidth + 1, centerHeight, buttonColor)
paintutils.drawPixel(centerWidth, centerHeight - 2, buttonColor) paintutils.drawPixel(centerWidth + 2, centerHeight - 1, buttonColor)
end end
playDisc() playDisc()