feat: allow readonly actions to be used in viewMode (#5982)

This commit is contained in:
David Luzar
2022-12-11 22:57:03 +01:00
committed by GitHub
parent 8466eb0eef
commit cc9e764585
11 changed files with 18 additions and 12 deletions

View File

@@ -6,6 +6,7 @@ import { register } from "./register";
export const actionGoToCollaborator = register({
name: "goToCollaborator",
viewMode: true,
trackEvent: { category: "collab" },
perform: (_elements, appState, value) => {
const point = value as Collaborator["pointer"];