core: Correct order of viewport bounds in render context

This commit is contained in:
David Wendt 2021-04-16 19:38:06 -04:00 committed by Mike Welsh
parent 4e4f1dce26
commit b021d04345
1 changed files with 1 additions and 1 deletions

View File

@ -990,8 +990,8 @@ impl Player {
(&mut self.renderer, &mut self.ui, &mut self.transform_stack);
let viewport_bounds = (
Twips::from_pixels(self.viewport_height as f64),
Twips::from_pixels(self.viewport_width as f64),
Twips::from_pixels(self.viewport_height as f64),
);
self.gc_arena.mutate(|_gc_context, gc_root| {