mirror of
https://github.com/penpot/penpot.git
synced 2026-05-02 22:58:35 +00:00
🐛 Fix issue where Alt + arrow keys shortcut interferes with letter-spacing (#7071)
This commit is contained in:
parent
a3557a81e4
commit
80f41c4a69
@ -22,6 +22,7 @@
|
||||
- Fix missing package for the `penpot_exporter` Docker image [GitHub #7205](https://github.com/penpot/penpot/issues/7025)
|
||||
- Fix issue where multiple dropdown menus could be opened simultaneously on the dashboard page [Taiga #11500](https://tree.taiga.io/project/penpot/issue/11500)
|
||||
- Fix font size/variant not updated when editing a text [Taiga #11552](https://tree.taiga.io/project/penpot/issue/11552)
|
||||
- Fix issue where Alt + arrow keys shortcut interferes with letter-spacing when moving text layers [Taiga #11552](https://tree.taiga.io/project/penpot/issue/11771)
|
||||
|
||||
## 2.9.0 (Unreleased)
|
||||
|
||||
|
||||
@ -205,11 +205,14 @@
|
||||
(filter cfh/text-shape?)
|
||||
(not-empty))
|
||||
|
||||
;; Check if we're actually editing text content (not just selecting text shapes)
|
||||
editing-text? (some? (deref refs/workspace-editor))
|
||||
|
||||
props (if (> (count text-shapes) 1)
|
||||
(blend-props text-shapes props)
|
||||
props)]
|
||||
|
||||
(when (and can-edit? (not read-only?) text-shapes)
|
||||
(when (and can-edit? (not read-only?) text-shapes editing-text?)
|
||||
(st/emit! (dwu/start-undo-transaction undo-id))
|
||||
(run! #(update-attrs % props) text-shapes)
|
||||
(st/emit! (dwu/commit-undo-transaction undo-id)))))
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user