diff options
| author | bobzel <zzzman@gmail.com> | 2021-03-16 15:50:54 -0400 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2021-03-16 15:50:54 -0400 |
| commit | 4e47c8020f85018973b67d929066b109f5db8a75 (patch) | |
| tree | 89dd27cf1fee9141d7e11d2d3de06c44399ce051 /src/client/views/nodes/FontIconBox.tsx | |
| parent | d4738b172a1737395b73f5495446d3138d4045b9 (diff) | |
put invalidation of imagebox's suffix on a 1sec delay for efficiency.
Diffstat (limited to 'src/client/views/nodes/FontIconBox.tsx')
| -rw-r--r-- | src/client/views/nodes/FontIconBox.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
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<FontIconBadgeProps> { 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; }, |
