mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-22 12:36:24 +08:00
refactor(editor): remove selection global types (#9532)
Closes: [BS-2217](https://linear.app/affine-design/issue/BS-2217/remove-global-types-in-selection)
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
import '@blocksuite/affine-shared/selection';
|
||||
|
||||
import type { DocMode } from '@blocksuite/affine-model';
|
||||
import { HighlightSelection } from '@blocksuite/affine-shared/selection';
|
||||
import { WidgetComponent } from '@blocksuite/block-std';
|
||||
import {
|
||||
GfxControllerIdentifier,
|
||||
@@ -65,7 +64,7 @@ export class AffineScrollAnchoringWidget extends WidgetComponent {
|
||||
anchorBounds$ = signal<Bound | null>(null);
|
||||
|
||||
highlighted$ = computed(() =>
|
||||
this.service.selectionManager.find('highlight')
|
||||
this.service.selectionManager.find(HighlightSelection)
|
||||
);
|
||||
|
||||
#getBoundsInEdgeless() {
|
||||
|
||||
Reference in New Issue
Block a user