Skip to content

Commit

Permalink
Send the document model to the iconRenderer, and avoid displaying cur…
Browse files Browse the repository at this point in the history
…sor on Anonymous icons
  • Loading branch information
brichet committed Nov 22, 2024
1 parent a7a612d commit 04359c5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion packages/collaboration/src/users-item.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ export class UsersItem extends React.Component<
this._model &&
user.userId !== this._model.sharedModel.awareness.clientID
) {
return IconRenderer({ user });
return IconRenderer({ user, model: this._model });
}
})}
</div>
Expand Down
1 change: 1 addition & 0 deletions packages/collaboration/style/users-item.css
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,5 @@
height: 22px;
width: 22px;
box-sizing: border-box;
cursor: default;
}

0 comments on commit 04359c5

Please sign in to comment.