mirror of
https://github.com/penpot/penpot.git
synced 2025-02-14 02:58:39 -05:00
🐛 Fix touched detecion in texts
This commit is contained in:
parent
39b46b3bc7
commit
de7a3bf52c
2 changed files with 4 additions and 4 deletions
|
@ -80,6 +80,7 @@
|
||||||
- Fix create typography with section closed [Taiga #5574](https://tree.taiga.io/project/penpot/issue/5574)
|
- Fix create typography with section closed [Taiga #5574](https://tree.taiga.io/project/penpot/issue/5574)
|
||||||
- Fix exports menu on viewer mode [Taiga #5568](https://tree.taiga.io/project/penpot/issue/5568)
|
- Fix exports menu on viewer mode [Taiga #5568](https://tree.taiga.io/project/penpot/issue/5568)
|
||||||
- Fix create empty comments [Taiga #5536](https://tree.taiga.io/project/penpot/issue/5536)
|
- Fix create empty comments [Taiga #5536](https://tree.taiga.io/project/penpot/issue/5536)
|
||||||
|
- Fix text changes not propagated to copy [Taiga #5364](https://tree.taiga.io/project/penpot/issue/5364)
|
||||||
|
|
||||||
### :arrow_up: Deps updates
|
### :arrow_up: Deps updates
|
||||||
|
|
||||||
|
|
|
@ -588,11 +588,10 @@
|
||||||
group (get component-sync-attrs attr)
|
group (get component-sync-attrs attr)
|
||||||
val (:val op)
|
val (:val op)
|
||||||
shape-val (get shape attr)
|
shape-val (get shape attr)
|
||||||
ignore (:ignore-touched op)
|
ignore (or (:ignore-touched op) (= attr :position-data)) ;; position-data is a derived attribute and
|
||||||
ignore-geometry (:ignore-geometry op)
|
ignore-geometry (:ignore-geometry op) ;; never triggers touched by itself
|
||||||
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