This repository has been archived by the owner on Oct 18, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
feat: sync the current translate and scale in the presence mouses #639
Merged
Raspincel
merged 8 commits into
lab
from
feat/sync-current-translate-and-scale-coordinates
Apr 17, 2024
Merged
feat: sync the current translate and scale in the presence mouses #639
Raspincel
merged 8 commits into
lab
from
feat/sync-current-translate-and-scale-coordinates
Apr 17, 2024
Conversation
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
Introducing V6 - New realtime 🎉
Introducing V6 - New realtime 🎉
Raspincel
approved these changes
Apr 17, 2024
carlossantos74
changed the title
feat: sync the current translate and scale in the mouse canvas
feat: sync the current translate and scale in the presence mouses
Apr 17, 2024
Total Coverage: 97.35% Coverage Report
|
Raspincel
approved these changes
Apr 17, 2024
🎉 This PR is included in version 6.1.0-lab.1 🎉 The release is available on: Your semantic-release bot 📦🚀 |
🎉 This PR is included in version 6.1.0-beta.1 🎉 The release is available on: Your semantic-release bot 📦🚀 |
🎉 This PR is included in version 6.1.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Implementing a simple camera to see what the participants are seeing all the time.
The coordinates that the `follow' functionality is based on have also been changed, before we centralized the mouse of the participant being followed, now we just centralize the view of the participant and calculate the scale that allows the mouse of the participant being followed to be seen at all times by the participant being followed.
So the
onGoToPresence
callback has been changed to add the scale x and y factors. And also thetransform
method has been deprecated in the canvas mouse pointers, it's no longer necessary, we calculate all coordinates internally.2024-04-15.14-59-52.mp4