Skip to content
Permalink
Browse files

Fix scrolling on hololens

  • Loading branch information...
Manishearth committed Aug 9, 2019
1 parent 6775c69 commit 8686e74c25801c91df09fada66d74ab7dd60c3b8
Showing with 1 addition and 1 deletion.
  1. +1 −1 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);
}

0 comments on commit 8686e74

Please sign in to comment.
You can’t perform that action at this time.