feat: make comment a draggable (#7976)

* feat: add drag strategy

* chore: use draggable
This commit is contained in:
Beka Westberg
2024-04-01 17:25:43 +00:00
committed by GitHub
parent abfbbbc299
commit 9effba5ee1
3 changed files with 113 additions and 2 deletions

View File

@@ -32,7 +32,7 @@ export class WorkspaceComment {
private deletable = true;
/** The location of the comment in workspace coordinates. */
private location = new Coordinate(0, 0);
protected location = new Coordinate(0, 0);
/** Whether this comment has been disposed or not. */
protected disposed = false;