diff options
| author | mehekj <mehek.jethani@gmail.com> | 2023-02-28 17:20:17 -0500 |
|---|---|---|
| committer | mehekj <mehek.jethani@gmail.com> | 2023-02-28 17:20:17 -0500 |
| commit | d7cb4929e437f2a03336e21b16aa4fb0cebf5ebe (patch) | |
| tree | 3c537913821c23a7a9a49d1324a4ba27ccdb3eb2 /src/client/views/collections/collectionSchema/CollectionSchemaView.tsx | |
| parent | df4781b27848731b329068b13da89a17d04ad1a9 (diff) | |
added dragging code
Diffstat (limited to 'src/client/views/collections/collectionSchema/CollectionSchemaView.tsx')
| -rw-r--r-- | src/client/views/collections/collectionSchema/CollectionSchemaView.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/collections/collectionSchema/CollectionSchemaView.tsx b/src/client/views/collections/collectionSchema/CollectionSchemaView.tsx index 22b8496aa..0cf5a1ed9 100644 --- a/src/client/views/collections/collectionSchema/CollectionSchemaView.tsx +++ b/src/client/views/collections/collectionSchema/CollectionSchemaView.tsx @@ -396,7 +396,7 @@ export class CollectionSchemaView extends CollectionSubView() { }; @action - startDrag = (e: React.PointerEvent, doc: Doc, ref: HTMLDivElement, index: number) => { + startDrag = (e: PointerEvent, doc: Doc, ref: HTMLDivElement, index: number) => { if (!this._selectedDocs.has(doc)) { this.clearSelection(); this.addDocToSelection(doc, false, index); |
