Skip to content

Commit

Permalink
Merge pull request #1 from mutantant/MacOS_Error_Fix
Browse files Browse the repository at this point in the history
Removed "lmeta" "rmeta" check for keyboard in utils which crashed MacOS
  • Loading branch information
linux-man authored Mar 17, 2019
2 parents 358cd66 + 58b61b6 commit 5d2bbd3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@

\.DS_Store
3 changes: 1 addition & 2 deletions loveframes/libraries/utils.lua
Original file line number Diff line number Diff line change
Expand Up @@ -360,8 +360,7 @@ end
--]]---------------------------------------------------------
function loveframes.IsCtrlDown()
if love._os == "OS X" then
return love.keyboard.isDown("lmeta") or love.keyboard.isDown("rmeta") or
love.keyboard.isDown("lgui") or love.keyboard.isDown("rgui")
return love.keyboard.isDown("lgui") or love.keyboard.isDown("rgui")
end
return love.keyboard.isDown("lctrl") or love.keyboard.isDown("rctrl")
end
Expand Down

0 comments on commit 5d2bbd3

Please sign in to comment.