mirror of
https://github.com/penpot/penpot.git
synced 2025-02-10 09:08:31 -05:00
🐛 Fix touched detection for texts
This commit is contained in:
parent
54ab57d8f6
commit
eb0d499ddf
1 changed files with 2 additions and 1 deletions
|
@ -360,7 +360,8 @@
|
|||
ignore (:ignore-touched op)
|
||||
ignore-geometry (:ignore-geometry op)
|
||||
is-geometry? (and (or (= group :geometry-group)
|
||||
(and (= group :content-group) (= (:type shape) :path)))
|
||||
(and (= group :content-group) (= (:type shape) :path))
|
||||
(= attr :position-data))
|
||||
(not (#{:width :height} attr))) ;; :content in paths are also considered geometric
|
||||
;; TODO: the check of :width and :height probably may be removed
|
||||
;; after the check added in data/workspace/modifiers/check-delta
|
||||
|
|
Loading…
Add table
Reference in a new issue