mirror of
https://github.com/penpot/penpot.git
synced 2025-05-22 23:26:12 +02:00
🐛 Fix problem with redo shortcut
This commit is contained in:
parent
dec854a012
commit
827ce6c42a
2 changed files with 2 additions and 1 deletions
|
@ -5,6 +5,7 @@
|
||||||
- Fix copy and paste very nested inside itself [Taiga #4848](https://tree.taiga.io/project/penpot/issue/4848)
|
- Fix copy and paste very nested inside itself [Taiga #4848](https://tree.taiga.io/project/penpot/issue/4848)
|
||||||
- Fix custom fonts not rendered correctly [Taiga #4874](https://tree.taiga.io/project/penpot/issue/4874)
|
- Fix custom fonts not rendered correctly [Taiga #4874](https://tree.taiga.io/project/penpot/issue/4874)
|
||||||
- Fix problem with shadows and blur on multiple selection
|
- Fix problem with shadows and blur on multiple selection
|
||||||
|
- Fix problem with redo shortcut
|
||||||
|
|
||||||
## 1.17.2
|
## 1.17.2
|
||||||
|
|
||||||
|
|
|
@ -87,7 +87,7 @@
|
||||||
(watch [it state _]
|
(watch [it state _]
|
||||||
(let [edition (get-in state [:workspace-local :edition])
|
(let [edition (get-in state [:workspace-local :edition])
|
||||||
drawing (get state :workspace-drawing)]
|
drawing (get state :workspace-drawing)]
|
||||||
(when (and (nil? edition) (or (empty drawing) (= :curve (:tool drawing))))
|
(when (and (nil? edition) (or (empty? drawing) (= :curve (:tool drawing))))
|
||||||
(let [undo (:workspace-undo state)
|
(let [undo (:workspace-undo state)
|
||||||
items (:items undo)
|
items (:items undo)
|
||||||
index (or (:index undo) (dec (count items)))]
|
index (or (:index undo) (dec (count items)))]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue