Skip to content

Commit

Permalink
#5967 - System should not change monomer position after switching fro…
Browse files Browse the repository at this point in the history
…m Molecules to Macromolecules - Sequence (#5968)
  • Loading branch information
rrodionov91 authored Nov 18, 2024
1 parent 1ea2aca commit 1357487
Show file tree
Hide file tree
Showing 8 changed files with 0 additions and 6 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 0 additions & 6 deletions packages/ketcher-core/src/application/editor/Editor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -633,13 +633,7 @@ export class CoreEditor {

private rerenderSequenceMode() {
if (this.mode instanceof SequenceMode) {
const modelChanges = this.drawingEntitiesManager.reArrangeChains(
this.canvas.width.baseVal.value,
true,
false,
);
this.drawingEntitiesManager.clearCanvas();
this.renderersContainer.update(modelChanges);
this.drawingEntitiesManager.applyMonomersSequenceLayout();
}
}
Expand Down

0 comments on commit 1357487

Please sign in to comment.