mirror of
https://github.com/servo/servo.git
synced 2025-08-03 20:50:07 +01:00
Fix xrviewport.height
This commit is contained in:
parent
2e48606569
commit
77e857891a
1 changed files with 1 additions and 1 deletions
|
@ -57,7 +57,7 @@ impl XRViewportMethods for XRViewport {
|
|||
|
||||
/// https://immersive-web.github.io/webxr/#dom-xrviewport-width
|
||||
fn Width(&self) -> i32 {
|
||||
self.height as i32
|
||||
self.width as i32
|
||||
}
|
||||
|
||||
/// https://immersive-web.github.io/webxr/#dom-xrviewport-height
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue