mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-14 21:27:20 +00:00
@@ -22,6 +22,7 @@ import { JournalService } from '@affine/core/modules/journal';
|
||||
import { ViewIcon, ViewTitle } from '@affine/core/modules/workbench';
|
||||
import type { AffineDNDData } from '@affine/core/types/dnd';
|
||||
import { useI18n } from '@affine/i18n';
|
||||
import { track } from '@affine/track';
|
||||
import type { Doc } from '@blocksuite/affine/store';
|
||||
import { useLiveData, useService, type Workspace } from '@toeverything/infra';
|
||||
import { forwardRef, useCallback, useEffect, useRef, useState } from 'react';
|
||||
@@ -187,6 +188,9 @@ export function DetailPageHeader(
|
||||
id: page.id,
|
||||
},
|
||||
},
|
||||
onDragStart: () => {
|
||||
track.$.header.$.dragStart();
|
||||
},
|
||||
dragPreviewPosition: 'pointer-outside',
|
||||
};
|
||||
}, [page.id]);
|
||||
|
||||
Reference in New Issue
Block a user