From 8686e74c25801c91df09fada66d74ab7dd60c3b8 Mon Sep 17 00:00:00 2001 From: Manish Goregaokar Date: Fri, 9 Aug 2019 16:53:23 -0700 Subject: [PATCH] Fix scrolling on hololens --- support/hololens/ServoApp/BrowserPage.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }