mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
feat: support to not render remote cursor & username (#7130)
This commit is contained in:
parent
068895db0e
commit
15bfa626b4
5 changed files with 36 additions and 13 deletions
|
@ -70,6 +70,19 @@ export type CollaboratorPointer = {
|
|||
x: number;
|
||||
y: number;
|
||||
tool: "pointer" | "laser";
|
||||
/**
|
||||
* Whether to render cursor + username. Useful when you only want to render
|
||||
* laser trail.
|
||||
*
|
||||
* @default true
|
||||
*/
|
||||
renderCursor?: boolean;
|
||||
/**
|
||||
* Explicit laser color.
|
||||
*
|
||||
* @default string collaborator's cursor color
|
||||
*/
|
||||
laserColor?: string;
|
||||
};
|
||||
|
||||
export type DataURL = string & { _brand: "DataURL" };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue