diff options
| author | Pietro Gagliardi <[email protected]> | 2014-03-15 22:30:49 -0400 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-03-15 22:30:49 -0400 |
| commit | 2c547cb5ec04096641cf68a2eafc7ca4371c06dd (patch) | |
| tree | 27fe6251ec5b46982efc36167af140b100bece3b /area.go | |
| parent | 829cf7b1c6fff41440fbed5d02a31c2f6bb73796 (diff) | |
Added note in MouseEvent documentation about both Down and Up being 0 representing mouse movement.
Diffstat (limited to 'area.go')
| -rw-r--r-- | area.go | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -62,6 +62,7 @@ type MouseEvent struct { // If the event was generated by a mouse button being released, Up contains the ID of that button. // Otherwise, Up contains 0. + // If both Down and Up are 0, the event represents mouse movement (with optional held buttons; see below). Up uint // If Down is nonzero, Count indicates the number of clicks: 1 for single-click, 2 for double-click. |
