mirror of
https://github.com/penpot/penpot.git
synced 2025-01-25 07:58:49 -05:00
✨ Enable touched detection in width and height changes
This commit is contained in:
parent
999e2f6633
commit
bb5d0b63ef
1 changed files with 3 additions and 2 deletions
|
@ -389,8 +389,9 @@
|
|||
;; FIXME: it's difficult to tell if the geometry changes affect
|
||||
;; an individual shape inside the component, or are for
|
||||
;; the whole component (in which case we shouldn't set
|
||||
;; touched). For the moment we disable geometry touched.
|
||||
(not= group :geometry-group))
|
||||
;; touched). For the moment we disable geometry touched
|
||||
;; except width and height that seems to work well.
|
||||
(or (not= group :geometry-group) (#{:width :height} attr)))
|
||||
(update :touched cph/set-touched-group group)
|
||||
|
||||
(nil? val)
|
||||
|
|
Loading…
Add table
Reference in a new issue