chore(editor): rename std.doc to std.store (#9596)

This commit is contained in:
Saul-Mirone
2025-01-09 04:16:28 +00:00
parent 58ce86533e
commit d21ef47ae8
89 changed files with 359 additions and 348 deletions

View File

@@ -108,7 +108,7 @@ export class AffineScrollAnchoringWidget extends WidgetComponent {
// listen for document updates
this.disposables.add(
this.std.doc.slots.blockUpdated
this.std.store.slots.blockUpdated
.filter(v => v.type === 'add' && v.id === id)
.once(() => this.#moveToAnchorInEdgeless(id))
);
@@ -157,7 +157,7 @@ export class AffineScrollAnchoringWidget extends WidgetComponent {
// listen for document updates
this.disposables.add(
this.std.doc.slots.blockUpdated
this.std.store.slots.blockUpdated
.filter(v => v.type === 'add' && v.id === id)
.once(() => this.#moveToAnchorInPage(id))
);