From 34cbbdae9fac1e5f1d5e603570200da7d91fada8 Mon Sep 17 00:00:00 2001 From: mint Date: Fri, 7 May 2021 00:52:48 -0400 Subject: [PATCH] fixed some bugs and reformatted the play button correctly --- rhythmblock.lua | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/rhythmblock.lua b/rhythmblock.lua index a8f23fe..0ad1a6d 100644 --- a/rhythmblock.lua +++ b/rhythmblock.lua @@ -1,7 +1,7 @@ accentColor = colors.gray buttonColor = colors.lightGray -textColor = color.lightGray -altTextColor = color.gray +textColor = colors.lightGray +altTextColor = colors.gray backgroundColor = colors.black function round(n) @@ -64,10 +64,10 @@ function stopDisc() end 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, centerHeight - 2, centerWidth + 1, centerHeight - 1, buttonColor) - paintutils.drawPixel(centerWidth, centerHeight - 2, buttonColor) + paintutils.drawFilledBox(centerWidth, centerHeight - 2, centerWidth + 1, centerHeight, buttonColor) + paintutils.drawPixel(centerWidth + 2, centerHeight - 1, buttonColor) end playDisc()