From 79bc65518c52fa30e583cc7c2a33b567be2cd668 Mon Sep 17 00:00:00 2001 From: Andrea Gottsponer <ago@attr.ch> Date: Wed, 7 Sep 2022 13:22:07 +0200 Subject: [PATCH] - add transparency on primitives default values --- src/lib/elements/primitives/ArrowPrimitive.ts | 3 ++- src/lib/elements/primitives/EllipsePrimitive.ts | 3 ++- src/lib/elements/primitives/RectanglePrimitive.ts | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/src/lib/elements/primitives/ArrowPrimitive.ts b/src/lib/elements/primitives/ArrowPrimitive.ts index 639267f3..c6d11bd0 100644 --- a/src/lib/elements/primitives/ArrowPrimitive.ts +++ b/src/lib/elements/primitives/ArrowPrimitive.ts @@ -469,9 +469,10 @@ export class ArrowPrimitive extends BaseElementContainer<Models.ArrowPrimitive, options: { hasLine: true, lineColor: 0x000000, + lineAlpha: 1, hasFill: true, fillColor: 0xffffff, - fillAlpha: 1, + fillAlpha: 0.3, } }); } diff --git a/src/lib/elements/primitives/EllipsePrimitive.ts b/src/lib/elements/primitives/EllipsePrimitive.ts index 44da24cc..36efd798 100644 --- a/src/lib/elements/primitives/EllipsePrimitive.ts +++ b/src/lib/elements/primitives/EllipsePrimitive.ts @@ -447,9 +447,10 @@ export class EllipsePrimitive extends BaseElementContainer<Models.EllipsePrimiti options: { hasLine: true, lineColor: 0x000000, + lineAlpha: 1, hasFill: true, fillColor: 0xffffff, - fillAlpha: 1, + fillAlpha: 0.3, } }); } diff --git a/src/lib/elements/primitives/RectanglePrimitive.ts b/src/lib/elements/primitives/RectanglePrimitive.ts index 5ee402e9..5f5d2663 100644 --- a/src/lib/elements/primitives/RectanglePrimitive.ts +++ b/src/lib/elements/primitives/RectanglePrimitive.ts @@ -448,9 +448,10 @@ export class RectanglePrimitive extends BaseElementContainer<Models.RectanglePri options: { hasLine: true, lineColor: 0x000000, + lineAlpha: 1, hasFill: true, fillColor: 0xffffff, - fillAlpha: 1, + fillAlpha: 0.3, } }); } -- GitLab