Merge remote-tracking branch 'origin/staging' into develop

This commit is contained in:
Andrey Antukh 2025-07-21 12:05:24 +02:00
commit 6dfd05fdd1
3 changed files with 8 additions and 2 deletions

View File

@ -41,6 +41,12 @@
- Fix main component receives focus and is selected when using 'Show Main Component' [Taiga #11402](https://tree.taiga.io/project/penpot/issue/11402) - Fix main component receives focus and is selected when using 'Show Main Component' [Taiga #11402](https://tree.taiga.io/project/penpot/issue/11402)
- Fix duplicating pages with mainInstance shapes nested inside groups [Taiga #10774](https://tree.taiga.io/project/penpot/issue/10774) - Fix duplicating pages with mainInstance shapes nested inside groups [Taiga #10774](https://tree.taiga.io/project/penpot/issue/10774)
## 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

View File

@ -245,4 +245,4 @@
(defn event (defn event
[props] [props]
(ptk/data-event ::events props)) (ptk/data-event ::event props))

View File

@ -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