mirror of
https://github.com/penpot/penpot.git
synced 2026-08-28 23:59:00 +00:00
🐛 Fix problem with multiplayer cursors
This commit is contained in:
parent
7fa47d68a8
commit
3a260825b9
@ -83,6 +83,7 @@
|
|||||||
;; position changes.
|
;; position changes.
|
||||||
(->> stream
|
(->> stream
|
||||||
(rx/filter mse/pointer-event?)
|
(rx/filter mse/pointer-event?)
|
||||||
|
(rx/filter #(= :viewport (mse/get-pointer-source %)))
|
||||||
(rx/pipe (rxs/throttle 100))
|
(rx/pipe (rxs/throttle 100))
|
||||||
(rx/map #(handle-pointer-send file-id (:pt %)))))
|
(rx/map #(handle-pointer-send file-id (:pt %)))))
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user