Platform: Windows 11
Using the following code.
local backgroundImage = gfx.image.new("images/background_01")
gfx.sprite.setBackgroundDrawingCallback(
function(x, y, width, height)
backgroundImage:draw(0, 0)
end
)
The background shows fine.
When I add following code to playdate.update
if pd.isCrankDocked() then
pd.ui.crankIndicator:update()
end
The indicator doesn't show up. If I remove the setBackgroundDrawingCallback
line, the indicator shows fine.