BGM playing changes and bugfixes

This commit is contained in:
Ishaan Bhardwaj
2023-07-15 02:18:43 -04:00
parent a972c31d9a
commit 7199aa7ef6
3 changed files with 10 additions and 23 deletions

View File

@@ -280,14 +280,6 @@ function love.wheelmoved(x, y)
scene:onInputPress({input=nil, type="wheel", x=x, y=y})
end
function love.focus(f)
if f then
resumeBGM(true)
else
pauseBGM(true)
end
end
function love.resize(w, h)
GLOBAL_CANVAS:release()
GLOBAL_CANVAS = love.graphics.newCanvas(w, h)