Improve alignment when zoom is applied.

This commit is contained in:
Andrey Antukh 2016-04-26 21:03:26 +03:00
parent 0969d62a50
commit dfe5765d50
No known key found for this signature in database
GPG key ID: 4DFEBCB8316A8B95
4 changed files with 10 additions and 11 deletions

View file

@ -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)))