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 | |
| 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.
| -rw-r--r-- | area_darwin.go | 1 | ||||
| -rw-r--r-- | todo.md | 1 |
2 files changed, 1 insertions, 1 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) } @@ -3,7 +3,6 @@ MAC OS X: - asked: http://stackoverflow.com/questions/23046414/cocoa-how-do-i-get-nscombobox-indexofselecteditem-to-return-1-if-the-user-m - 10.6 also spits a bunch of NSNoAutoreleasePool() debug log messages even though I thoguht I had everything in an NSAutoreleasePool... - key up with the Command key held and our new modifiers code doesn't seem to happen? -- point out that Areas get keyboard focus automatically on click on Mac OS X - make sure Areas get keyboard focus when clicking outside the actual Area space on Mac OS X WINDOWS: |
