@@ -82,10 +82,14 @@ class Unity8TestCase(AutopilotTestCase):
82 self.patch_environment("GRID_UNIT_PX", str(self.grid_size))
82 self.patch_environment("GRID_UNIT_PX", str(self.grid_size))
84 def _geo_larger_than_display(self, width, height):
84 def _geo_larger_than_display(self, width, height):
85+ should_scale = getattr(self, 'scale_geo', True)
85− screen = Display.create()
87+ screen = Display.create()
86− screen_width = screen.get_screen_width()
88+ screen_width = screen.get_screen_width()
87− screen_height = screen.get_screen_height()
89+ screen_height = screen.get_screen_height()
88− return (width > screen_width) or (height > screen_height)
90+ return (width > screen_width) or (height > screen_height)
90 def _get_scaled_down_geo(self, width, height):
94 def _get_scaled_down_geo(self, width, height):
91 divisor = 1
95 divisor = 1