diff --git a/src/aare/gui/widgets/camera_image.py b/src/aare/gui/widgets/camera_image.py index 93c820b9..bd6d417b 100644 --- a/src/aare/gui/widgets/camera_image.py +++ b/src/aare/gui/widgets/camera_image.py @@ -1455,12 +1455,12 @@ class SampleCameraImageLabel(QGraphicsView): ) ) if self._show_beam_crosshair: - # Same pen as the box so the crosshair follows the beam state color. - r = self.sceneRect() + # Anuschka and Katherine really want a crosshair at 10s + arm = 33 cx = int(self._geom.beam_location_pxl.x) cy = int(self._geom.beam_location_pxl.y) - painter.drawLine(int(r.left()), cy, int(r.right()), cy) - painter.drawLine(cx, int(r.top()), cx, int(r.bottom())) + painter.drawLine(cx - arm, cy, cx + arm, cy) + painter.drawLine(cx, cy - arm, cx, cy + arm) @staticmethod def _draw_circle(painter, coord: Coordinate, color: QColor, radius=10):