Skip to content

Commit

Permalink
#2009 - Incorrect positioning of data s-group labels
Browse files Browse the repository at this point in the history
* Fix Box2Abs.segmentIntersection to check collinial segments those might not intersect
* Draw bond data labels in the middle of the bond over it
  • Loading branch information
gairon committed Jul 10, 2023
1 parent 1c045e1 commit d6f9b12
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

import { Box2Abs, FunctionalGroup, Pile, SGroup, Vec2 } from 'domain/entities';

import { SgContexts } from 'application/editor';
import { SgContexts } from 'application/editor/shared/constants';
import { LayerMap } from './generalEnumTypes';
import ReDataSGroupData from './redatasgroupdata';
import ReObject from './reobject';
Expand Down
2 changes: 1 addition & 1 deletion packages/ketcher-core/src/domain/entities/sgroup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import { Vec2 } from './vec2';
import { ReStruct } from '../../application/render';
import { Pool } from 'domain/entities/pool';
import { ReSGroup } from 'application/render';
import { SgContexts } from 'application/editor';
import { SgContexts } from 'application/editor/shared/constants';
import { SGroupAttachmentPoint } from 'domain/entities/sGroupAttachmentPoint';
import assert from 'assert';

Expand Down

0 comments on commit d6f9b12

Please sign in to comment.