mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Fix scrolling on hololens
This commit is contained in:
parent
6775c69da1
commit
8686e74c25
1 changed files with 1 additions and 1 deletions
|
@ -279,7 +279,7 @@ void BrowserPage::OnSurfaceManipulationDelta(
|
||||||
auto y = e.Position().Y;
|
auto y = e.Position().Y;
|
||||||
auto dx = e.Delta().Translation.X;
|
auto dx = e.Delta().Translation.X;
|
||||||
auto dy = e.Delta().Translation.Y;
|
auto dy = e.Delta().Translation.Y;
|
||||||
RunOnGLThread([=] { mServo->Scroll(x, y, dx, dy); });
|
RunOnGLThread([=] { mServo->Scroll(dx, dy, x, y); });
|
||||||
e.Handled(true);
|
e.Handled(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue