Changing alpha value
This commit is contained in:
@@ -825,7 +825,7 @@ class AnnotationCanvasWidget(QWidget):
|
|||||||
self._add_polyline(img_coords, pen_color, width, annotation_id=annotation_id)
|
self._add_polyline(img_coords, pen_color, width, annotation_id=annotation_id)
|
||||||
|
|
||||||
# Store in all_strokes for consistency (uses normalized coordinates)
|
# 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}")
|
logger.debug(f"Drew saved polyline with {len(polyline)} points in color {color}")
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user