diff options
author | Manish Goregaokar <manishsmail@gmail.com> | 2019-08-09 16:53:23 -0700 |
---|---|---|
committer | Manish Goregaokar <manishsmail@gmail.com> | 2019-08-09 16:53:23 -0700 |
commit | 8686e74c25801c91df09fada66d74ab7dd60c3b8 (patch) | |
tree | 8ae510808fd5bd93567acc5d5443759dec6bace8 /support/hololens/ServoApp/BrowserPage.cpp | |
parent | 6775c69da128608fa6f7f11e19232c05a3b92365 (diff) | |
download | servo-8686e74c25801c91df09fada66d74ab7dd60c3b8.tar.gz servo-8686e74c25801c91df09fada66d74ab7dd60c3b8.zip |
Fix scrolling on hololens
Diffstat (limited to 'support/hololens/ServoApp/BrowserPage.cpp')
-rw-r--r-- | support/hololens/ServoApp/BrowserPage.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/support/hololens/ServoApp/BrowserPage.cpp b/support/hololens/ServoApp/BrowserPage.cpp index afc07507d75..62b3b3a9a72 100644 --- a/support/hololens/ServoApp/BrowserPage.cpp +++ b/support/hololens/ServoApp/BrowserPage.cpp @@ -279,7 +279,7 @@ void BrowserPage::OnSurfaceManipulationDelta( auto y = e.Position().Y; auto dx = e.Delta().Translation.X; auto dy = e.Delta().Translation.Y; - RunOnGLThread([=] { mServo->Scroll(x, y, dx, dy); }); + RunOnGLThread([=] { mServo->Scroll(dx, dy, x, y); }); e.Handled(true); } |