[RFC] Randomized names next to mouse pointers. (#971)
* [WIP] Add names next to pointers This implements the rendering and messaging across. Still need to do the UI to set the name. Also, not really sure what's the best place to send the name and store it. * Add randomized names Co-authored-by: Christopher Chedeau <vjeux@fb.com>
This commit is contained in:
@ -50,6 +50,7 @@ export function exportToCanvas(
|
||||
scrollY: normalizeScroll(-minY + exportPadding),
|
||||
zoom: 1,
|
||||
remotePointerViewportCoords: {},
|
||||
remotePointerUsernames: {},
|
||||
},
|
||||
{
|
||||
renderScrollbars: false,
|
||||
|
@ -8,6 +8,7 @@ export type SceneState = {
|
||||
viewBackgroundColor: string | null;
|
||||
zoom: number;
|
||||
remotePointerViewportCoords: { [id: string]: { x: number; y: number } };
|
||||
remotePointerUsernames: { [id: string]: string };
|
||||
};
|
||||
|
||||
export type SceneScroll = {
|
||||
|
Reference in New Issue
Block a user