mirror of
https://github.com/penpot/penpot.git
synced 2025-07-17 18:27:13 +02:00
🐛 Fix workspace initialization unexpected behavior.
This commit is contained in:
parent
84df0c431b
commit
747213dea3
4 changed files with 34 additions and 35 deletions
|
@ -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))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue