diff options
author | Callum Prentice <callum@gmail.com> | 2020-09-22 13:07:39 -0700 |
---|---|---|
committer | Callum Prentice <callum@gmail.com> | 2020-09-22 13:07:39 -0700 |
commit | 38faec3b11d27c2f88b89283fe1a3a60d6ec4e42 (patch) | |
tree | cc2c7f22a38a2efba72eeb01124c3f873c3a1f83 /indra/llwindow | |
parent | 14b5d490c37d234db7a52295502b130723186f3c (diff) | |
parent | 60ed688026269568a9eef67437dc780f88c92871 (diff) |
Merge branch 'master' into DRTVWR-519
Diffstat (limited to 'indra/llwindow')
-rw-r--r-- | indra/llwindow/llopenglview-objc.mm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/llwindow/llopenglview-objc.mm b/indra/llwindow/llopenglview-objc.mm index 5b9dce02c4..d2c5b11c3d 100644 --- a/indra/llwindow/llopenglview-objc.mm +++ b/indra/llwindow/llopenglview-objc.mm @@ -359,10 +359,10 @@ attributedStringInfo getSegments(NSAttributedString *str) callRightMouseDown(mMousePos, [theEvent modifierFlags]); mSimulatedRightClick = true; } else { - if ([theEvent clickCount] >= 2) + if ([theEvent clickCount] == 2) { callDoubleClick(mMousePos, [theEvent modifierFlags]); - } else if ([theEvent clickCount] == 1) { + } else if ([theEvent clickCount] >= 1) { callLeftMouseDown(mMousePos, [theEvent modifierFlags]); } } |