[fix] Collaborator scribble on tldraw (#1804)

This PR fixes the collaborator scribble in the laser pointer, etc.

### Change Type

- [x] `patch` — Bug fix

### Test Plan

1. In a multiplayer room, have a peer use the laser tool or eraser tool.
This commit is contained in:
Steve Ruiz 2023-08-10 14:48:30 +01:00 committed by GitHub
parent 13ef8be58d
commit eaba3c8f2a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -40,6 +40,7 @@ export function Tldraw(
components: useMemo( components: useMemo(
() => ({ () => ({
Scribble: TldrawScribble, Scribble: TldrawScribble,
CollaboratorScribble: TldrawScribble,
SelectionForeground: TldrawSelectionForeground, SelectionForeground: TldrawSelectionForeground,
SelectionBackground: TldrawSelectionBackground, SelectionBackground: TldrawSelectionBackground,
Handles: TldrawHandles, Handles: TldrawHandles,