diff options
| author | Pietro Gagliardi <[email protected]> | 2014-06-06 23:46:47 -0400 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-06-06 23:46:47 -0400 |
| commit | d3270db6dccafd1e1c6b186d13cad9ee56ebcb50 (patch) | |
| tree | 87ebfdc7d4d9d0a5c1578bda6a5ef694e371902c /area_darwin.go | |
| parent | 14c7267b107e2a58a89be69a46f855742acf16ec (diff) | |
Added note that Areas get focus on Mac OS X on a click event automatically since we make it a first responder.
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 216d417..0428432 100644 --- a/area_darwin.go +++ b/area_darwin.go @@ -124,6 +124,7 @@ func areaView_mouseMoved_mouseDragged(self C.id, e C.id) { //export areaView_mouseDown func areaView_mouseDown(self C.id, e C.id) { + // no need to manually set focus; Mac OS X has already done that for us by this point areaMouseEvent(self, e, true, false) } |
