From 559d8adeca26684989c47a3b8d88eb7540de2eb2 Mon Sep 17 00:00:00 2001 From: Roman Rodionov Date: Mon, 9 Sep 2024 16:28:33 +0200 Subject: [PATCH] #5453 - Circle with monomer number should be few pixels down --- .../src/domain/entities/DrawingEntitiesManager.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/ketcher-core/src/domain/entities/DrawingEntitiesManager.ts b/packages/ketcher-core/src/domain/entities/DrawingEntitiesManager.ts index ffba910e99..5c0dfd81ae 100644 --- a/packages/ketcher-core/src/domain/entities/DrawingEntitiesManager.ts +++ b/packages/ketcher-core/src/domain/entities/DrawingEntitiesManager.ts @@ -1879,17 +1879,17 @@ export class DrawingEntitiesManager { } public addAmbiguousMonomer( - variantMonomerItem: AmbiguousMonomerType, + ambiguousMonomerItem: AmbiguousMonomerType, position: Vec2, ) { const command = new Command(); const operation = new MonomerAddOperation( this.addAmbiguousMonomerChangeModel.bind( this, - variantMonomerItem, + ambiguousMonomerItem, position, ), - () => {}, + this.deleteMonomerChangeModel.bind(this), ); command.addOperation(operation);