Skip to content

Commit

Permalink
#5497 – Refactor (SnakeModePolymerBondRenderer.ts): Specify the types
Browse files Browse the repository at this point in the history
  • Loading branch information
DmitriiP-EPAM committed Sep 11, 2024
1 parent 33540e3 commit b7a4ae8
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 @@ -239,7 +239,7 @@ export class FlexModePolymerBondRenderer extends BaseRenderer {
return this.hoverAreaElement.attr('stroke', 'transparent');
}

public remove() {
public remove(): void {
super.remove();
if (this.polymerBond.hovered) {
this.editorEvents.mouseLeaveMonomer.dispatch();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -949,7 +949,7 @@ export class SnakeModePolymerBondRenderer extends BaseRenderer {
this.isSnakeBond = true;
}

public remove() {
public remove(): void {
super.remove();
if (this.polymerBond.hovered) {
this.editorEvents.mouseLeaveMonomer.dispatch();
Expand Down

0 comments on commit b7a4ae8

Please sign in to comment.