mirror of
https://github.com/penpot/penpot.git
synced 2025-05-19 21:06:11 +02:00
Merge remote-tracking branch 'origin/staging' into develop
This commit is contained in:
commit
7dd24bb79b
2 changed files with 2 additions and 1 deletions
|
@ -87,7 +87,7 @@
|
|||
(watch [it state _]
|
||||
(let [edition (get-in state [:workspace-local :edition])
|
||||
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)
|
||||
items (:items undo)
|
||||
index (or (:index undo) (dec (count items)))]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue