Skip to content

Commit 95c065e

Browse files
committed
Update file-drop-manager.ts
Fix
1 parent b698e4c commit 95c065e

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

blocksuite/affine/components/src/drag-indicator/file-drop-manager.ts

+2-3
Original file line numberDiff line numberDiff line change
@@ -198,10 +198,9 @@ export class FileDropExtension extends LifeCycleWatcher {
198198

199199
std.event.disposables.add(
200200
this.dropTarget$.subscribe(target => {
201-
if (this._disableIndicator) return;
202201
FileDropExtension.indicator.rect = this._disableIndicator
203-
? (target?.rect ?? null)
204-
: null;
202+
? null
203+
: (target?.rect ?? null);
205204
})
206205
);
207206

0 commit comments

Comments
 (0)