mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Support Scroll in HoloLens mode
This commit is contained in:
parent
24d2213780
commit
380e54b4f6
5 changed files with 32 additions and 5 deletions
|
@ -51,7 +51,7 @@ Servo::Servo(GLsizei width, GLsizei height)
|
|||
|
||||
CInitOptions o;
|
||||
o.args = NULL;
|
||||
o.url = "https://google.com";
|
||||
o.url = "https://servo.org";
|
||||
o.width = mWindowWidth;
|
||||
o.height = mWindowHeight;
|
||||
o.density = 1.0;
|
||||
|
@ -93,3 +93,4 @@ void Servo::SetSize(GLsizei width, GLsizei height) {
|
|||
}
|
||||
|
||||
void Servo::Click(float x, float y) { click(x, y); }
|
||||
void Servo::Scroll(float dx, float dy, float x, float y) { scroll(dx, dy, x, y); }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue