def mouseReleaseEvent(self, event: QMouseEvent) -> None:
        """
        Handle mouse release, ending viewport drag.
        """
        if event.button() == Qt.MouseButton.LeftButton:
            self.setCursor(Qt.CursorShape.ArrowCursor)
            event.accept()
        self._is_mouse_pressed = False

        Handle mouse release, ending viewport drag.
        
angrmanagement/ui/widgets/qminimap.py