mirror of
https://github.com/penpot/penpot.git
synced 2025-01-24 15:39:50 -05:00
🐛 Fix rotation when set to 0 again
This commit is contained in:
parent
d83b362c9f
commit
1b76ed97e1
2 changed files with 3 additions and 3 deletions
|
@ -285,6 +285,8 @@
|
|||
(cond-> transform
|
||||
(-> (assoc :transform transform)
|
||||
(assoc :transform-inverse transform-inverse)))
|
||||
(cond-> (not transform)
|
||||
(dissoc :transform :transform-inverse))
|
||||
(assoc :selrect selrect)
|
||||
(assoc :points points)
|
||||
(assoc :rotation rotation))))
|
||||
|
|
|
@ -159,9 +159,7 @@
|
|||
(when (or up? down?)
|
||||
(set-delta event up? down?))
|
||||
(when enter?
|
||||
(let [new-value (parse-value)]
|
||||
(apply-value new-value)
|
||||
(dom/blur! input-node)))
|
||||
(dom/blur! input-node))
|
||||
(when esc?
|
||||
(update-input value-str)))))
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue