Skip to content

Commit

Permalink
minor DOH!
Browse files Browse the repository at this point in the history
  • Loading branch information
trubblegum committed Mar 27, 2012
1 parent b338324 commit 064a94d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 0 additions & 1 deletion Gspot.lua
Expand Up @@ -117,7 +117,6 @@ local Gspot = {
end
end
love.graphics.setRenderTarget(this.rendertarget)
love.graphics.setColor(this.style.fg)
if this.mousein and this.mousein.display and this.mousein.tip then
local element = this.mousein
local pos = element:getpos()
Expand Down
3 changes: 2 additions & 1 deletion main.lua
Expand Up @@ -239,8 +239,9 @@ love.keypressed = function(key, code)
else
showhider:show()
end
else
gui:keypress(key, code) -- only sending input to Gspot if we're not using it for something else
end
gui:keypress(key, code) -- if you don't want text input, you don't need this
end

love.mousepressed = function(x, y, button)
Expand Down

0 comments on commit 064a94d

Please sign in to comment.