Skip to content

Commit

Permalink
fix prop change
Browse files Browse the repository at this point in the history
  • Loading branch information
dwelle committed May 11, 2022
1 parent c823158 commit 74adae9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/renderer/renderScene.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit 74adae9

Please sign in to comment.