From 4e47c8020f85018973b67d929066b109f5db8a75 Mon Sep 17 00:00:00 2001 From: bobzel Date: Tue, 16 Mar 2021 15:50:54 -0400 Subject: put invalidation of imagebox's suffix on a 1sec delay for efficiency. --- src/client/views/nodes/FontIconBox.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/client/views/nodes/FontIconBox.tsx') diff --git a/src/client/views/nodes/FontIconBox.tsx b/src/client/views/nodes/FontIconBox.tsx index 22815388d..6ae4b9726 100644 --- a/src/client/views/nodes/FontIconBox.tsx +++ b/src/client/views/nodes/FontIconBox.tsx @@ -75,7 +75,7 @@ export class FontIconBadge extends React.Component { onPointerDown = (e: React.PointerEvent) => { setupMoveUpEvents(this, e, (e: PointerEvent) => { - const dragData = new DragManager.DocumentDragData([this.props.collection]); + const dragData = new DragManager.DocumentDragData([this.props.collection!]); DragManager.StartDocumentDrag([this._notifsRef.current!], dragData, e.x, e.y); return true; }, -- cgit v1.2.3-70-g09d2