Skip to content

Commit

Permalink
chore: remove unused variables on Length tool
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-stout committed Dec 3, 2024
1 parent f2996db commit 7d89856
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions packages/tools/src/tools/annotation/LengthTool.ts
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,6 @@ class LengthTool extends AnnotationTool {
resetElementCursor(element);

const enabledElement = getEnabledElement(element);
const { renderingEngine } = enabledElement;

if (
this.isHandleOutsideImage &&
Expand All @@ -438,7 +437,6 @@ class LengthTool extends AnnotationTool {
_dragCallback = (evt: EventTypes.InteractionEventType): void => {
this.isDrawing = true;
const eventDetail = evt.detail;
const { element } = eventDetail;

const { annotation, viewportIdsToRender, handleIndex, movingTextBox } =
this.editData;
Expand Down

0 comments on commit 7d89856

Please sign in to comment.