uxebu / bonsai

BonsaiJS is a graphics library and renderer
http://bonsaijs.org
Other
1.96k stars 189 forks source link

Rename `isLeft`/`isMiddle`/`isRight` to `leftButton`/`middleButton`/`rightButton` #199

Open davidaurelio opened 11 years ago

davidaurelio commented 11 years ago

Pointer events have isLeft/isMiddle/isRight properties, while keyboard events have altKey/ctrlKey/…

We should align that and rename the mouse button properties to leftButton/middleButton/rightButton