fix bigbug
This commit is contained in:
@@ -129,7 +129,7 @@ function UIRect:update(delta)
|
||||
|
||||
local pos = self:getAbsolutePosition()
|
||||
|
||||
local size = self:getAbsolutePosition()
|
||||
local size = self:getAbsoluteSize()
|
||||
|
||||
local mouseWithin = true
|
||||
if not (mousePos.x > pos.x) then mouseWithin = false end
|
||||
|
3
main.lua
3
main.lua
@@ -63,6 +63,8 @@ local debugInfoString = ""
|
||||
local luaEngineMemory = 0
|
||||
local luaHighestMem = 0
|
||||
|
||||
local ticktock = 0
|
||||
|
||||
function love.load()
|
||||
windowCreationSuccess = love.window.setMode(1024, 600, {
|
||||
resizable = true,
|
||||
@@ -76,6 +78,7 @@ function love.load()
|
||||
end
|
||||
|
||||
function love.update(delta)
|
||||
|
||||
mainmenu:update(delta)
|
||||
|
||||
luaEngineMemory = round(collectgarbage('count'), 0)
|
||||
|
Reference in New Issue
Block a user