-
Notifications
You must be signed in to change notification settings - Fork 172
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feature(multiplayer) Use Liveblocks to trigger control updates. (#4724)
- Added a type `ControlChangedRoomEvent`, making that the only case of `RoomEvent`. - `CollaborationStateUpdater` now uses `useBroadcastEvent` to notify other connections that a change has been triggered to who controls the room. - `CollaborationStateUpdater` uses `useEventListener` to listen for updates to who controls the room. - Removed a check for if the document has focus from `claimControlOverProject`.
- Loading branch information
1 parent
d53d50f
commit d53c864
Showing
3 changed files
with
56 additions
and
19 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