From 279ce312338c2f6f05c766b7b950c5af52e53362 Mon Sep 17 00:00:00 2001 From: Derick Sayavong Date: Mon, 2 Dec 2024 11:42:54 -0700 Subject: [PATCH] Calls the fitCamera() for both entering and exiting a glyph --- SBOLCanvasFrontend/src/app/graph-edits.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/SBOLCanvasFrontend/src/app/graph-edits.ts b/SBOLCanvasFrontend/src/app/graph-edits.ts index 47cebc6..699f30f 100644 --- a/SBOLCanvasFrontend/src/app/graph-edits.ts +++ b/SBOLCanvasFrontend/src/app/graph-edits.ts @@ -193,9 +193,8 @@ export class GraphEdits { } else { this.glyphCell = previousView; } - - this.graphService.fitCamera(); } + this.graphService.fitCamera(); } }