OOPS i forgot to remove the debug stuff

This commit is contained in:
jill 2021-09-19 23:44:10 +03:00
parent 60fedd28d7
commit bc0bf26289
1 changed files with 0 additions and 1 deletions

View File

@ -23,7 +23,6 @@ function getMousePosition()
local sx, sy, sw, sh = 0, 0, love.graphics.getWidth(), love.graphics.getHeight()
if love.isVersionCompatible('11.3') then sx, sy, sw, sh = love.window.getSafeArea() end
sx, sy, sw, sh = 100, 100, love.graphics.getWidth() - 200, love.graphics.getHeight() - 200
x, y = ((x - sx) / sw) * love.graphics.getWidth(), ((y - sy) / sh) * love.graphics.getHeight()