diff options
Diffstat (limited to 'src/window.rs')
-rw-r--r-- | src/window.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/window.rs b/src/window.rs index 60048774..e42151fd 100644 --- a/src/window.rs +++ b/src/window.rs @@ -234,7 +234,7 @@ impl Window { pub fn inner_size_pixels(&self) -> Option<Size<Pixels<u32>>> { self.window - .get_inner_size_pixels() + .get_inner_size() .map(|(w, h)| Size { width: Pixels(w), height: Pixels(h) }) } |