Andrei486 / uml-diagram-collab

0 stars 0 forks source link

TCP desync when moving elements #63

Closed em66850 closed 9 months ago

em66850 commented 9 months ago

When two users move an element at the same time, it moves it to two different locations on their screens.

Currently the proposed solution is making the move command be relative (a delta) - how much the elements should move in what direction instead of changing the absolute position. The order of the commands should not matter, and relative movements would solve this.

We need to do more testing on this.