mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +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 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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue