mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-13 21:05:19 +00:00
chore(editor): rename std.doc to std.store (#9596)
This commit is contained in:
@@ -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());
|
||||
})
|
||||
);
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user