Changing alpha value

This commit is contained in:
2026-01-16 10:26:25 +02:00
parent fcbd5fb16d
commit 69cde09e53

View File

@@ -825,7 +825,7 @@ class AnnotationCanvasWidget(QWidget):
self._add_polyline(img_coords, pen_color, width, annotation_id=annotation_id)
# Store in all_strokes for consistency (uses normalized coordinates)
self.all_strokes.append({"points": polyline, "color": color, "alpha": 128, "width": width})
self.all_strokes.append({"points": polyline, "color": color, "alpha": 255, "width": width})
logger.debug(f"Drew saved polyline with {len(polyline)} points in color {color}")