Skip to content

Commit

Permalink
make sure pointerup is triggered when area shape is just clicked (not…
Browse files Browse the repository at this point in the history
… dragged), related to 1ee8cb2

Signed-off-by: Tim Deubler <[email protected]>
  • Loading branch information
TerminalTim committed Aug 2, 2024
1 parent 1ee8cb2 commit 0c19402
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/editor/src/features/area/AreaShape.ts
Original file line number Diff line number Diff line change
Expand Up @@ -277,14 +277,12 @@ class AreaShape extends Feature<'Point'> {
polygonTools.markAsModified(area, false);
}
}

polygonTools.markAsModified(area);

area.__.hk?.show();
polygonTools.addVShapes(area);

triggerEvents(e, isMoved ? 'dragStop' : UNDEF);
}
triggerEvents(e, isMoved ? 'dragStop' : UNDEF);
}

this.__ = {
Expand Down

0 comments on commit 0c19402

Please sign in to comment.