Skip to content

Commit

Permalink
#3097 – Apply auto zoom and centering for API
Browse files Browse the repository at this point in the history
  • Loading branch information
Nitvex committed Aug 14, 2023
1 parent 7f1b054 commit 45e2dc6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/ketcher-core/src/application/ketcher.ts
Original file line number Diff line number Diff line change
Expand Up @@ -270,6 +270,8 @@ export class Ketcher {
);

this.#editor.struct(struct);
this.#editor.zoomAccordingContent(struct);
this.#editor.centerStruct();
}, this.eventBus);
}

Expand Down

0 comments on commit 45e2dc6

Please sign in to comment.