Skip to content

Commit

Permalink
Replace Mouse.isDown docs
Browse files Browse the repository at this point in the history
Until Mouse.left and Mouse.right are added as part of elm#43, it makes sense for the docs on package.elm-lang.org to be true to how the function works to avoid any confusion
  • Loading branch information
eeue56 committed Aug 19, 2015
1 parent d1a0345 commit 2bd9a2d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Mouse.elm
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ y =
Signal.map snd position


{-| The current state of the left mouse-button.
True when the button is down, and false otherwise. -}
{-| The current state of the mouse
True when any mouse button is down, and false otherwise. -}
isDown : Signal Bool
isDown =
Native.Mouse.isDown
Expand Down

0 comments on commit 2bd9a2d

Please sign in to comment.