Fix scrolling on hololens

This commit is contained in:
Manish Goregaokar 2019-08-09 16:53:23 -07:00
parent 6775c69da1
commit 8686e74c25

View file

@ -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);
}