aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/client/views/collections/CollectionCardDeckView.tsx3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/client/views/collections/CollectionCardDeckView.tsx b/src/client/views/collections/CollectionCardDeckView.tsx
index 7ea345e10..bf814cb31 100644
--- a/src/client/views/collections/CollectionCardDeckView.tsx
+++ b/src/client/views/collections/CollectionCardDeckView.tsx
@@ -46,7 +46,9 @@ export class CollectionCardView extends CollectionSubView() {
@observable _isLoading = false;
@observable _hoveredNodeIndex = -1;
@observable _docRefs = new ObservableMap<Doc, DocumentView>();
+ _draggerRef = React.createRef<HTMLDivElement>();
@observable _maxRowCount = 10;
+ @observable docsBeingDragged: number[] = [];
static getButtonGroup(groupFieldKey: 'chat' | 'star' | 'idea' | 'like', doc: Doc): number | undefined {
return Cast(doc[groupFieldKey], 'number', null);
@@ -508,6 +510,7 @@ export class CollectionCardView extends CollectionSubView() {
const amCards = this.overflowAmCardsCalc(realIndex);
const isSelected = DocumentView.SelectedDocs().includes(doc);
+
const childScreenToLocal = () => {
this._forceChildXf;
const dref = this._docRefs.get(doc);