Skip to content

Commit

Permalink
feat: 🎸 hideHandlesOnMove hides handles whilst they are edited
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesAPetts authored Jul 2, 2020
1 parent e2c2906 commit b037c89
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/tools/annotation/EllipticalRoiTool.js
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ export default class EllipticalRoiTool extends BaseAnnotationTool {
pointNearTool(element, data, coords, interactionType) {
const hasStartAndEndHandles =
data && data.handles && data.handles.start && data.handles.end;

const validParameters = hasStartAndEndHandles;

if (!validParameters) {
Expand Down

0 comments on commit b037c89

Please sign in to comment.