From eb0d499ddf0aef518cee4e760e50419cc9708455 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9s=20Moya?= Date: Wed, 10 May 2023 17:07:29 +0200 Subject: [PATCH] :bug: Fix touched detection for texts --- common/src/app/common/pages/changes.cljc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/common/src/app/common/pages/changes.cljc b/common/src/app/common/pages/changes.cljc index 9997ec9a79..2de4b4910b 100644 --- a/common/src/app/common/pages/changes.cljc +++ b/common/src/app/common/pages/changes.cljc @@ -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