diff --git a/CHANGES.md b/CHANGES.md index 59a51a4855..06519684b4 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -28,6 +28,7 @@ - Fix wrong interaction between comments and panning modes [Taiga #4297](https://tree.taiga.io/project/penpot/issue/4297) - Fix bad element positioning on interaction with fixed scroll [Github #2660](https://github.com/penpot/penpot/issues/2660) - Fix display type of component library not persistent [Taiga #4512](https://tree.taiga.io/project/penpot/issue/4512) +- Fix problem when moving texts with keyboard [#2690](https://github.com/penpot/penpot/issues/2690) ### :arrow_up: Deps updates diff --git a/frontend/src/app/main/ui/workspace/shapes/text/viewport_texts_html.cljs b/frontend/src/app/main/ui/workspace/shapes/text/viewport_texts_html.cljs index b32b3dc06e..7658de6730 100644 --- a/frontend/src/app/main/ui/workspace/shapes/text/viewport_texts_html.cljs +++ b/frontend/src/app/main/ui/workspace/shapes/text/viewport_texts_html.cljs @@ -167,6 +167,10 @@ (or (and (not remote?) (not (text-properties-equal? old-shape new-shape))) + (and (not= new-modifiers old-modifiers) + (or (ctm/empty? new-modifiers) + (ctm/empty? old-modifiers))) + (and (not= new-modifiers old-modifiers) (or (not (ctm/only-move? new-modifiers)) (not (ctm/only-move? old-modifiers))))