Skip to content

Commit 237e982

Browse files
authored
Merge pull request #357 from SynBioDex/lost-on-page-fix
Centering when focusing in or out of a part
2 parents f9049b5 + 279ce31 commit 237e982

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

SBOLCanvasFrontend/src/app/graph-edits.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -193,9 +193,8 @@ export class GraphEdits {
193193
} else {
194194
this.glyphCell = previousView;
195195
}
196-
197-
this.graphService.fitCamera();
198196
}
197+
this.graphService.fitCamera();
199198
}
200199
}
201200

0 commit comments

Comments
 (0)