mirror of
https://github.com/penpot/penpot.git
synced 2026-08-01 10:56:20 +00:00
🐛 Fix unexpected exception on processing old texts
This commit is contained in:
parent
5b704faf79
commit
40c300fa1a
@ -1,5 +1,12 @@
|
|||||||
# CHANGELOG
|
# CHANGELOG
|
||||||
|
|
||||||
|
## 2.8.1 (Unreleased)
|
||||||
|
|
||||||
|
### :bug: Bugs fixed
|
||||||
|
|
||||||
|
- Fix unexpected exception on processing old texts [Github #6889](https://github.com/penpot/penpot/pull/6889)
|
||||||
|
|
||||||
|
|
||||||
## 2.8.0
|
## 2.8.0
|
||||||
|
|
||||||
### :rocket: Epics and highlights
|
### :rocket: Epics and highlights
|
||||||
|
|||||||
@ -479,7 +479,7 @@
|
|||||||
;; We don't have the fills attribute. It's an old text without color
|
;; We don't have the fills attribute. It's an old text without color
|
||||||
;; so need to be black
|
;; so need to be black
|
||||||
(and (nil? (:fills node)) (empty? color-attrs))
|
(and (nil? (:fills node)) (empty? color-attrs))
|
||||||
(update :fills conj txt/default-text-attrs)
|
(assoc :fills (:fills txt/default-text-attrs))
|
||||||
|
|
||||||
;; Remove duplicates from the fills
|
;; Remove duplicates from the fills
|
||||||
:always
|
:always
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user