Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
leb2 committed Aug 5, 2024
1 parent 0384af5 commit 822d04b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ import { CoreEditor, EditorHistory } from 'application/editor/internal';
import { isSequenceMode } from 'application/editor/modes';
import { BaseTool } from 'application/editor/tools/Tool';
import { ReinitializeModeOperation } from 'application/editor/operations/modes';
import { ReinitializeSequenceModeCommand } from 'application/editor/operations/modes';

class ClearTool implements BaseTool {
private history: EditorHistory;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1318,9 +1318,9 @@ function getBondMark(
if (bond.b.type === Bond.PATTERN.TYPE.TRIPLE) fixed += options.bondSpace;
const p = c.add(new Vec2(n.x * (s.x + fixed), n.y * (s.y + fixed)));
const path = draw.bondMark(render.paper, p, mark, options);
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore: raphael typing issues
tooltip &&
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore: raphael typing issues
path.node.childNodes[0].setAttribute(
'data-tooltip',
util.escapeHtml(tooltip),
Expand Down

0 comments on commit 822d04b

Please sign in to comment.