diff --git a/button.lua b/button.lua index 1de64e4..b721dc0 100644 --- a/button.lua +++ b/button.lua @@ -41,7 +41,7 @@ function self.update(dt) local mx, my = love.mouse.getPosition() local targetsize = 1 - if mx > v.x and mx < v.x + v.size and my > v.y and my < v.y + v.size then + if mx > v.x and mx < v.x + v.size and my > v.y and my < v.y + v.size and dropdown.openDropdown == 0 then if love.mouse.isDown(1) then targetsize = 0.8 else