Clarified that MouseEvent.Held will not include Down/Up.

This commit is contained in:
Pietro Gagliardi 2014-03-15 22:39:16 -04:00
parent 6ef6dd8eba
commit 961d8484bc
1 changed files with 1 additions and 1 deletions

View File

@ -74,8 +74,8 @@ type MouseEvent struct {
Modifiers Modifiers Modifiers Modifiers
// Held is a slice of button IDs that indicate which mouse buttons are being held during the event. // Held is a slice of button IDs that indicate which mouse buttons are being held during the event.
// Held will not include Down and Up.
// (TODO "There is no guarantee that Held is sorted."?) // (TODO "There is no guarantee that Held is sorted."?)
// (TODO will this include or exclude Down and Up?)
Held []uint Held []uint
} }