diff options
| author | Pietro Gagliardi <[email protected]> | 2014-05-23 23:48:17 -0400 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-05-23 23:48:17 -0400 |
| commit | 511f774649fa53f5bf8e3d42bf79e74193c9596a (patch) | |
| tree | f5a54aac2de5d15ce987e8b4d8d44f5f34a07506 /area_darwin.go | |
| parent | f4afa2a9511dd6ab75c040f9e50f11a1918ccf25 (diff) | |
Finished the Area clicking stuff: formalized the behavior in documentation in area.go, pointed out that Mac OS X already behaves as expected, updated some comments, and removed the relevant TODO.
Diffstat (limited to 'area_darwin.go')
| -rw-r--r-- | area_darwin.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/area_darwin.go b/area_darwin.go index 362bde3..921b223 100644 --- a/area_darwin.go +++ b/area_darwin.go @@ -86,6 +86,7 @@ func areaMouseEvent(self C.id, e C.id, click bool, up bool) { me.Up = which } else if click { me.Down = which + // this already works the way we want it to so nothing special needed like with Windows and GTK+ me.Count = uint(C.clickCount(e)) } else { which = 0 // reset for Held processing below |
