aboutsummaryrefslogtreecommitdiffstats
path: root/support/hololens/ServoApp/BrowserPage.cpp
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2019-08-09 16:53:23 -0700
committerManish Goregaokar <manishsmail@gmail.com>2019-08-09 16:53:23 -0700
commit8686e74c25801c91df09fada66d74ab7dd60c3b8 (patch)
tree8ae510808fd5bd93567acc5d5443759dec6bace8 /support/hololens/ServoApp/BrowserPage.cpp
parent6775c69da128608fa6f7f11e19232c05a3b92365 (diff)
downloadservo-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.cpp2
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);
}