summaryrefslogtreecommitdiff
path: root/indra/llwindow/llopenglview-objc.mm
diff options
context:
space:
mode:
authorMnikolenko ProductEngine <mnikolenko@productengine.com>2019-09-11 16:49:10 +0300
committerMnikolenko ProductEngine <mnikolenko@productengine.com>2019-09-11 16:49:10 +0300
commit153c2b2446cee584cec034405921bdd9bfdc7c70 (patch)
treea68bb7da1598a9226ff5816cc1bdf2d1e2fba637 /indra/llwindow/llopenglview-objc.mm
parent98b28e58813035df597d01e18657b73a94635ecd (diff)
SL-11918 [Mac] Wheel support (horizontal scroll)
Diffstat (limited to 'indra/llwindow/llopenglview-objc.mm')
-rw-r--r--indra/llwindow/llopenglview-objc.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llwindow/llopenglview-objc.mm b/indra/llwindow/llopenglview-objc.mm
index decbd15efc..d93c1b5b36 100644
--- a/indra/llwindow/llopenglview-objc.mm
+++ b/indra/llwindow/llopenglview-objc.mm
@@ -467,7 +467,7 @@ attributedStringInfo getSegments(NSAttributedString *str)
- (void) scrollWheel:(NSEvent *)theEvent
{
- callScrollMoved(-[theEvent deltaY]);
+ callScrollMoved(-[theEvent deltaX], -[theEvent deltaY]);
}
- (void) mouseExited:(NSEvent *)theEvent