From 74adae98a09759b42902d14edf3d82356a78b575 Mon Sep 17 00:00:00 2001 From: dwelle Date: Wed, 11 May 2022 11:32:30 +0200 Subject: [PATCH] fix prop change --- src/renderer/renderScene.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/renderer/renderScene.ts b/src/renderer/renderScene.ts index 62d7cbf827da..c1104a1d65c2 100644 --- a/src/renderer/renderScene.ts +++ b/src/renderer/renderScene.ts @@ -318,7 +318,7 @@ export const renderScene = ( selectionColors.push( ...renderConfig.remoteSelectedElementIds[element.id].map( (socketId) => { - const picture = appState.collaborators.get(socketId)?.picture; + const picture = appState.collaborators.get(socketId)?.src; const { background } = getClientColors( picture || socketId, appState, @@ -447,7 +447,7 @@ export const renderScene = ( y = Math.max(y, 0); y = Math.min(y, normalizedCanvasHeight - height); - const picture = appState.collaborators.get(clientId)?.picture; + const picture = appState.collaborators.get(clientId)?.src; const { background, stroke } = getClientColors( picture || clientId, appState,