Skip to content

Commit

Permalink
Fix scrolling on hololens
Browse files Browse the repository at this point in the history
  • Loading branch information
Manishearth committed Aug 9, 2019
1 parent 6775c69 commit 8686e74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion support/hololens/ServoApp/BrowserPage.cpp
Expand Up @@ -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);
}

Expand Down

0 comments on commit 8686e74

Please sign in to comment.