mirror of
https://github.com/penpot/penpot.git
synced 2025-07-31 18:38:31 +02:00
Improve alignment when zoom is applied.
This commit is contained in:
parent
0969d62a50
commit
dfe5765d50
4 changed files with 10 additions and 11 deletions
|
@ -37,7 +37,6 @@
|
|||
(rx/take 1))
|
||||
stream (->> wb/mouse-delta-s
|
||||
(rx/take-until stoper)
|
||||
(rx/map #(gpt/divide % @wb/zoom-l))
|
||||
(rx/with-latest-from vector wb/mouse-ctrl-s))]
|
||||
(when @wb/alignment-l
|
||||
(rs/emit! (uds/initial-vertext-align shape vid)))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue