mirror of
https://github.com/penpot/penpot.git
synced 2025-01-24 07:29:08 -05:00
Remove default proportion lock from the new shapes.
This commit is contained in:
parent
d40ed45a70
commit
de387d00b1
1 changed files with 2 additions and 2 deletions
|
@ -285,14 +285,14 @@
|
||||||
(let [{:keys [width height]} metadata]
|
(let [{:keys [width height]} metadata]
|
||||||
(assoc shape
|
(assoc shape
|
||||||
:proportion (/ width height)
|
:proportion (/ width height)
|
||||||
:proportion-lock true)))
|
:proportion-lock false)))
|
||||||
|
|
||||||
(defn setup-proportions-rect
|
(defn setup-proportions-rect
|
||||||
[shape]
|
[shape]
|
||||||
(let [{:keys [width height]} (size shape)]
|
(let [{:keys [width height]} (size shape)]
|
||||||
(assoc shape
|
(assoc shape
|
||||||
:proportion (/ width height)
|
:proportion (/ width height)
|
||||||
:proportion-lock true)))
|
:proportion-lock false)))
|
||||||
|
|
||||||
;; --- Resize (Dimentsions)
|
;; --- Resize (Dimentsions)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue