aboutsummaryrefslogtreecommitdiff
path: root/src/client/documents/Documents.ts
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2025-01-27 11:06:58 -0500
committerbobzel <zzzman@gmail.com>2025-01-27 11:06:58 -0500
commit0365f57b56cfee77930c25cfcc5bb5813423f4be (patch)
tree00d7c559591de90c22b4681fef1e67424ee20718 /src/client/documents/Documents.ts
parenta6a6929501b7ce9b3ceed73c7e8141a8d8f0c7dc (diff)
fixed drawing opaque strokes over images.
Diffstat (limited to 'src/client/documents/Documents.ts')
-rw-r--r--src/client/documents/Documents.ts2
1 files changed, 1 insertions, 1 deletions
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;