mirror of
https://github.com/penpot/penpot.git
synced 2025-08-03 23:38:30 +02:00
🐛 Fix text content sync and touched detection in shape displacement
This commit is contained in:
parent
6f72ea0530
commit
5e1cabc857
3 changed files with 9 additions and 2 deletions
|
@ -8,6 +8,7 @@
|
|||
"Events related with shapes transformations"
|
||||
(:require
|
||||
[app.common.data :as d]
|
||||
[app.common.data.macros :as dm]
|
||||
[app.common.geom.point :as gpt]
|
||||
[app.common.geom.shapes :as gsh]
|
||||
[app.common.math :as mth]
|
||||
|
@ -100,7 +101,7 @@
|
|||
(let [children (map (d/getf objects) (:shapes shape))
|
||||
|
||||
shape-id (:id shape)
|
||||
transformed-shape (gsh/transform-shape shape (get modif-tree shape-id))
|
||||
transformed-shape (gsh/transform-shape shape (dm/get-in modif-tree [shape-id :modifiers]))
|
||||
|
||||
[root transformed-root ignore-geometry?]
|
||||
(check-delta shape root transformed-shape transformed-root objects modif-tree)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue