Skip to content

Commit

Permalink
#5497 – Refactor (SnakeModeSideChainBondRenderer): Rename the class
Browse files Browse the repository at this point in the history
  • Loading branch information
DmitriiP-EPAM committed Dec 6, 2024
1 parent a2cc652 commit 79de1bc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { editorEvents } from 'application/editor/editorEvents';
import { CoreEditor } from 'application/editor/internal';
import { Coordinates } from 'application/editor/shared/coordinates';
import { SideChainConnectionBondRenderer } from 'application/render/renderers/PolymerBondRenderer/SideChainConnectionBondRenderer';
import { SnakeModeSideChainBondRenderer } from 'application/render/renderers/PolymerBondRenderer/SnakeModeSideChainBondRenderer';
import { D3SvgElementSelection } from 'application/render/types';
import assert from 'assert';
import { Vec2 } from 'domain/entities';
Expand Down Expand Up @@ -153,7 +153,7 @@ export class SnakeModePolymerBondRenderer extends BaseRenderer {
cells: Cell[],
): D3SvgElementSelection<SVGPathElement, this> {
const sideChainConnectionBondRenderer =
new SideChainConnectionBondRenderer();
new SnakeModeSideChainBondRenderer();
const {
appendPathToElement,
pathDAttributeValue,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ const SMOOTH_CORNER_SIZE = 5;
// TODO: Can be:
// - a class with static methods.
// - a set of functions.
export class SideChainConnectionBondRenderer {
export class SnakeModeSideChainBondRenderer {
public appendSideConnectionBond<ThisType>({
cells,
polymerBond,
Expand Down

0 comments on commit 79de1bc

Please sign in to comment.