def set_scene_rect(self, rect: QRectF) -> None:
        """
        Define the dimensions of the total minimap scene.
        """
        self.prepareGeometryChange()
        self._minimap_scene_rect = rect
        self.update_scene_drawing()
        self.update()

        Define the dimensions of the total minimap scene.
        
angrmanagement/ui/widgets/qminimap.py