diff --git a/src/SystemAssets/card-pressed.png b/src/SystemAssets/card-pressed.png index 706455a..9aa6f6c 100644 Binary files a/src/SystemAssets/card-pressed.png and b/src/SystemAssets/card-pressed.png differ diff --git a/src/crankFuncs.lua b/src/crankFuncs.lua deleted file mode 100644 index fdfc748..0000000 --- a/src/crankFuncs.lua +++ /dev/null @@ -1,33 +0,0 @@ -import "CoreLibs/graphics" -import "CoreLibs/ui" -import "CoreLibs/crank" -import "CoreLibs/timer" - -local gfx = playdate.graphics - -function updateCrank() - local crankState = playdate.getCrankTicks(4) - local textRect = playdate.geometry.rect.new(0, 110, 400, 20) - local textColor - - if darkMode == true then - textColor = gfx.kDrawModeCopy - else - textColor = gfx.kDrawModeFillWhite - end - - if playdate.isCrankDocked() == false and currentAudio:isPlaying() == true then - local text = "play rate: "..currentAudio:getRate().." - dock crank to hide" - gfx.fillRect(textRect) - gfx.setColor(bgColor) - gfx.setImageDrawMode(textColor) - gfx.drawTextInRect(text,textRect,nil,nil,kTextAlignment.center) - if crankState == 1 then - currentAudio:setRate(currentAudio:getRate()+0.25) - elseif crankState == -1 then - currentAudio:setRate(currentAudio:getRate()-0.25) - end - gfx.setColor(color) - gfx.setImageDrawMode(dMColor1) - end -end \ No newline at end of file diff --git a/src/main.lua b/src/main.lua index 0f8c178..e71bd0d 100644 --- a/src/main.lua +++ b/src/main.lua @@ -3,7 +3,7 @@ import "CoreLibs/ui" import "CoreLibs/nineslice" import "CoreLibs/timer" import "funcs" -import "crankFuncs" +-- import "crankFuncs" local gfx = playdate.graphics @@ -353,7 +353,7 @@ function playdate.update() end end - updateCrank() + -- updateCrank() end currentAudio:setFinishCallback(handleSongEnd) diff --git a/src/pdxinfo b/src/pdxinfo index 08655e6..78dfe8c 100644 --- a/src/pdxinfo +++ b/src/pdxinfo @@ -2,6 +2,6 @@ name=musik author=nanobot567 description=simple music player for playdate bundleID=com.nano.musik -version=3.1 -buildNumber=718 +version=3.2 +buildNumber=732 imagePath=SystemAssets \ No newline at end of file