-
Notifications
You must be signed in to change notification settings - Fork 171
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feature(editor) Cursors Based On Connections Instead Of Users. (#4794)
- Comments now lose their user specific colours as the colours are now attached to connections, which would result in some inconsistent colours against comments versus the cursor for them. - `MultiplayerCursors` now uses `excludeMyConnection` to get everything but the current connection for the current user. - When calling `multiplayerColorFromIndex`, the `getConnectionById` function is used to obtain the `colorIndex` for the connection if it exists. - `MultiplayerUserBar` now uses `excludeMyConnection` to get the connections excluding the current connection used by the current user. - Added some utility functions related to connections in `comment-hooks.tsx`. - Moved `colorIndex` from `UserMeta` to `ConnectionInfo`.
- Loading branch information
1 parent
b910367
commit 25260fa
Showing
8 changed files
with
156 additions
and
61 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.