From 0365f57b56cfee77930c25cfcc5bb5813423f4be Mon Sep 17 00:00:00 2001 From: bobzel Date: Mon, 27 Jan 2025 11:06:58 -0500 Subject: fixed drawing opaque strokes over images. --- src/client/documents/Documents.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/client/documents/Documents.ts b/src/client/documents/Documents.ts index 0bff74ac1..1ca118137 100644 --- a/src/client/documents/Documents.ts +++ b/src/client/documents/Documents.ts @@ -923,7 +923,7 @@ export namespace Docs { const I = Doc.GetProto(ink); // I.layout_hideOpenButton = true; // don't show open full screen button when selected I.color = color; - I.fillColor = fillColor; + I.fillColor = fillColor && fillColor !== 'transparent' ? fillColor : undefined; I.stroke = new InkField(points); I.stroke_width = strokeWidth; I.stroke_bezier = strokeBezier; -- cgit v1.2.3-70-g09d2