Issue #720 resolved

setGrab and isGrabbed inconsistency

created an issue

All (I think) pairs of functions named setSomething and get/is/hasSomething have the same word for Something, except for setGrab and isGrabbed.

I'm thinking that setGrab should be named setGrabbed.

This may seem grammatically weird at first, but, I think it makes sense.

Compared with

love.mouse.set[ the mouse to be ]Visible
love.mouse.set[ the mouse to be ]Grabbed
love.mouse.get[ whether the mouse is]Visible
love.mouse.get[ whether the mouse is]Grabbed

love.mouse.set[ the ]Grab[ state]
love.mouse.set[ the ]Visibility[ state]

Comments (1)

  1. Log in to comment