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 Oct 25, 2024
1 parent bade577 commit 03dac68
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 03dac68

Please sign in to comment.