commit | 310833d072be2d0d390abdd1f7e53e91278b2072 | [log] [tgz] |
---|---|---|
author | David Crawshaw <crawshaw@golang.org> | Tue Aug 25 12:19:04 2015 -0400 |
committer | David Crawshaw <crawshaw@golang.org> | Mon Sep 14 19:18:44 2015 +0000 |
tree | a4f4f0706ac03a880a0f6fa9ba0712173fef241f | |
parent | ed327bb5bf1cc12cde839fc635cf65f3ac6d6b84 [diff] |
shiny/driver/gldriver: flip y for mouse events Cocoa uses the bottom-left as the origin. Shiny uses the top-left as the origin. Convert from one to the other when sending mouse events. Fixes golang/go#12306 Change-Id: I462e813e260ec365c978624f9454e7ede0da833d Reviewed-on: https://go-review.googlesource.com/13917 Reviewed-by: Rob Pike <r@golang.org>