diff options
author | Mnikolenko ProductEngine <mnikolenko@productengine.com> | 2019-09-11 16:49:10 +0300 |
---|---|---|
committer | Mnikolenko ProductEngine <mnikolenko@productengine.com> | 2019-09-11 16:49:10 +0300 |
commit | 153c2b2446cee584cec034405921bdd9bfdc7c70 (patch) | |
tree | a68bb7da1598a9226ff5816cc1bdf2d1e2fba637 /indra/llwindow/llopenglview-objc.mm | |
parent | 98b28e58813035df597d01e18657b73a94635ecd (diff) |
SL-11918 [Mac] Wheel support (horizontal scroll)
Diffstat (limited to 'indra/llwindow/llopenglview-objc.mm')
-rw-r--r-- | indra/llwindow/llopenglview-objc.mm | 2 |
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 |