🐛 Fix workspace initialization unexpected behavior.

This commit is contained in:
Andrey Antukh 2020-01-14 21:01:05 +01:00
parent 84df0c431b
commit 747213dea3
4 changed files with 34 additions and 35 deletions

View file

@ -34,8 +34,8 @@
stoper (rx/filter uws/mouse-up? stream)
position @uws/mouse-position]
(rx/concat
(when (refs/alignment-activated? flags)
(rx/of (dw/initial-selection-align selected)))
;; (when (refs/alignment-activated? flags)
;; (rx/of (dw/initial-selection-align selected)))
(->> (uws/mouse-position-deltas position)
(rx/map #(dw/apply-temporal-displacement-in-bulk selected %))
(rx/take-until stoper))