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

@@ -287,7 +287,7 @@ export class AffineDocRemoteSelectionWidget extends WidgetComponent {
);
this.disposables.add(
this.std.doc.slots.blockUpdated.on(() => {
this.std.store.slots.blockUpdated.on(() => {
this._updateSelections(this._remoteSelections.peek());
})
);

View File

@@ -5,7 +5,7 @@ import { multiPlayersColor } from './color-picker';
export class RemoteColorManager {
private get awarenessStore() {
return this.std.doc.workspace.awarenessStore;
return this.std.store.workspace.awarenessStore;
}
constructor(readonly std: BlockStdScope) {