Clarified that MouseEvent.Held will not include Down/Up.
This commit is contained in:
parent
6ef6dd8eba
commit
961d8484bc
2
area.go
2
area.go
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue