mirror of
https://github.com/penpot/penpot.git
synced 2026-04-29 13:18:29 +00:00
Remove default proportion lock from the new shapes.
This commit is contained in:
parent
d40ed45a70
commit
de387d00b1
@ -285,14 +285,14 @@
|
||||
(let [{:keys [width height]} metadata]
|
||||
(assoc shape
|
||||
:proportion (/ width height)
|
||||
:proportion-lock true)))
|
||||
:proportion-lock false)))
|
||||
|
||||
(defn setup-proportions-rect
|
||||
[shape]
|
||||
(let [{:keys [width height]} (size shape)]
|
||||
(assoc shape
|
||||
:proportion (/ width height)
|
||||
:proportion-lock true)))
|
||||
:proportion-lock false)))
|
||||
|
||||
;; --- Resize (Dimentsions)
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user