mirror of
https://github.com/penpot/penpot.git
synced 2025-08-07 14:38:33 +02:00
🐛 Fix incorrect undo handling on path edition
This commit is contained in:
parent
e9755d437e
commit
a7c1f7ba69
2 changed files with 3 additions and 2 deletions
|
@ -1,11 +1,12 @@
|
||||||
# CHANGELOG
|
# CHANGELOG
|
||||||
|
|
||||||
## 2.6.2
|
## 2.6.2 (Unreleased)
|
||||||
|
|
||||||
### :bug: Bugs fixed
|
### :bug: Bugs fixed
|
||||||
|
|
||||||
- Increase the height of the right sidebar dropdowns [Taiga #10615](https://tree.taiga.io/project/penpot/issue/10615)
|
- Increase the height of the right sidebar dropdowns [Taiga #10615](https://tree.taiga.io/project/penpot/issue/10615)
|
||||||
- Fix scroll on token themes modal [Taiga #10745](https://tree.taiga.io/project/penpot/issue/10745)
|
- Fix scroll on token themes modal [Taiga #10745](https://tree.taiga.io/project/penpot/issue/10745)
|
||||||
|
- Fix unexpected exception on path editor on merge segments when undo stack is empty
|
||||||
|
|
||||||
## 2.6.1
|
## 2.6.1
|
||||||
|
|
||||||
|
|
|
@ -47,7 +47,7 @@
|
||||||
|
|
||||||
(defn undo
|
(defn undo
|
||||||
[stack]
|
[stack]
|
||||||
(update stack :index dec))
|
(update stack :index #(max 0 (dec %))))
|
||||||
|
|
||||||
(defn redo
|
(defn redo
|
||||||
[{index :index items :items :as stack}]
|
[{index :index items :items :as stack}]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue