Removed TODO from area_darwin.go about extra mouse button handling; turns out it works as expected right out of the gate... for the most part.
This commit is contained in:
parent
d6f559d026
commit
898c3c7b66
|
@ -183,7 +183,6 @@ func areaMouseEvent(self C.id, e C.id, click bool, up bool) {
|
||||||
if which != 3 && (held & 2) != 0 { // button 3
|
if which != 3 && (held & 2) != 0 { // button 3
|
||||||
me.Held = append(me.Held, 3)
|
me.Held = append(me.Held, 3)
|
||||||
}
|
}
|
||||||
// TODO remove this part?
|
|
||||||
held >>= 3
|
held >>= 3
|
||||||
for i := uint(4); held != 0; i++ {
|
for i := uint(4); held != 0; i++ {
|
||||||
if which != i && (held & 1) != 0 {
|
if which != i && (held & 1) != 0 {
|
||||||
|
|
Loading…
Reference in New Issue