mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-09-08 01:57:02 +02:00
feat: use userId instead of socketId
This commit is contained in:
@@ -619,8 +619,8 @@ export const _renderScene = ({
|
||||
if (renderConfig.remoteSelectedElementIds[element.id]) {
|
||||
selectionColors.push(
|
||||
...renderConfig.remoteSelectedElementIds[element.id].map(
|
||||
(socketId) => {
|
||||
const background = getClientColor(socketId);
|
||||
(userId) => {
|
||||
const background = getClientColor(userId);
|
||||
return background;
|
||||
},
|
||||
),
|
||||
|
Reference in New Issue
Block a user