mirror of
https://github.com/penpot/penpot.git
synced 2026-04-25 11:18:36 +00:00
🚑 Fix typo :podition in swap-shapes grid cell
The key :podition was used instead of :position when updating the id-from cell in swap-shapes, silently discarding the position value and leaving the cell's :position as nil after every swap. Signed-off-by: Andrey Antukh <niwi@niwi.nz>
This commit is contained in:
parent
6c90ba1582
commit
7b0ea5968d
@ -1439,7 +1439,7 @@
|
||||
(update-in [:layout-grid-cells id-from]
|
||||
assoc
|
||||
:shapes (:shapes cell-to)
|
||||
:podition (:position cell-to))
|
||||
:position (:position cell-to))
|
||||
(update-in [:layout-grid-cells id-to]
|
||||
assoc
|
||||
:shapes (:shapes cell-from)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user