From 421e4c5604ec742a6cdc510f05786094a24d7f74 Mon Sep 17 00:00:00 2001 From: Aaron Dodson Date: Fri, 27 Sep 2024 09:22:35 -0700 Subject: [PATCH] fix: Remove errant this. --- core/widgetdiv.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/widgetdiv.ts b/core/widgetdiv.ts index 5780a7d740..b5edc97744 100644 --- a/core/widgetdiv.ts +++ b/core/widgetdiv.ts @@ -169,7 +169,7 @@ export function hideIfOwner(oldOwner: unknown) { * @param workspace The workspace that was using this container. */ export function hideIfOwnerIsInWorkspace(workspace: WorkspaceSvg) { - let ownerIsInWorkspace = this.ownerWorkspace === null; + let ownerIsInWorkspace = ownerWorkspace === null; // Check if the given workspace is a parent workspace of the one containing // our owner. let currentWorkspace: WorkspaceSvg | null = workspace;