mirror of
https://github.com/penpot/penpot.git
synced 2025-02-10 17:18:21 -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 (:ignore-touched op)
|
||||||
ignore-geometry (:ignore-geometry op)
|
ignore-geometry (:ignore-geometry op)
|
||||||
is-geometry? (and (or (= group :geometry-group)
|
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
|
(not (#{:width :height} attr))) ;; :content in paths are also considered geometric
|
||||||
;; TODO: the check of :width and :height probably may be removed
|
;; TODO: the check of :width and :height probably may be removed
|
||||||
;; after the check added in data/workspace/modifiers/check-delta
|
;; after the check added in data/workspace/modifiers/check-delta
|
||||||
|
|
Loading…
Add table
Reference in a new issue