summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-05-10 14:31:22 -0400
committerPietro Gagliardi <[email protected]>2014-05-10 14:31:22 -0400
commitd8d671b0b0f718f61c559f4d573810fe51192ee5 (patch)
treead2a9672e3e726c4cbc0b96a59474f3482de4f2c
parentfefab429fceff15171b47e6583b088ce19716fcd (diff)
Documented the xxxMouseDragged: behavior in the Mac OS X source code.
-rw-r--r--area_darwin.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/area_darwin.go b/area_darwin.go
index f7989ce..39a5fb3 100644
--- a/area_darwin.go
+++ b/area_darwin.go
@@ -200,6 +200,7 @@ func areaMouseEvent(self C.id, e C.id, click bool, up bool) {
//export areaView_mouseMoved_mouseDragged
func areaView_mouseMoved_mouseDragged(self C.id, sel C.SEL, e C.id) {
+ // for dragging, if multiple buttons are held, only one of their xxxMouseDragged: messages will be sent, so this is OK to do
// TODO implement tracking for dragging
areaMouseEvent(self, e, false, false)
}