From 139aed0cee87877e8bb8e3d8d9ed4fba48f1dcb2 Mon Sep 17 00:00:00 2001 From: freshavocado7 Date: Tue, 2 Jan 2024 10:31:10 +0100 Subject: [PATCH] fix(realization-view): Add styling for all individual layers MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Ernst Würger --- capellambse_context_diagrams/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/capellambse_context_diagrams/__init__.py b/capellambse_context_diagrams/__init__.py index dbc99aa4..7184162e 100644 --- a/capellambse_context_diagrams/__init__.py +++ b/capellambse_context_diagrams/__init__.py @@ -184,6 +184,6 @@ def register_realization_view() -> None: "realization_view", context.RealizationViewContextAccessor("Realization Diagram"), ) - styles |= capstyle.STYLES.get(dgcls.value, {}) + styles.update(capstyle.STYLES.get(dgcls.value, {})) capstyle.STYLES["Realization Diagram"] = styles