Skip to content
This repository has been archived by the owner on Mar 26, 2022. It is now read-only.

Basic example not working properly #108

Closed
eloparco opened this issue Nov 6, 2020 · 2 comments
Closed

Basic example not working properly #108

eloparco opened this issue Nov 6, 2020 · 2 comments

Comments

@eloparco
Copy link

eloparco commented Nov 6, 2020

Hello,
I'm trying to use the basic example (https://www.calla.chat/basic/) but if I open multiple tabs the users' rectangle movements have a wrong vertical displacement: if I click on a point in the map, the rectangle moves but it's not centered with respect to the mouse cursor (on the contrary, it's below it). The higher the number of opened tabs the larger the top offset.

Instead, if I open just one tab and I'm the first user joining the room everything is fine.
Any idea on how to fix it?
Thanks

@eloparco
Copy link
Author

eloparco commented Nov 6, 2020

I solved the problem and submitted a pull request (#109), it may be useful for others facing the same issue.

@capnmidnight
Copy link
Owner

Thanks for the PR. It's merged now.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants