0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-03-13 08:11:30 -05:00

Merge pull request #6017 from penpot/alotor-bugfix

🐛 Fix problem with selection colors
This commit is contained in:
Alejandro 2025-03-06 07:35:26 +01:00 committed by GitHub
commit f45fa95935
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 4 additions and 3 deletions

View file

@ -13,6 +13,7 @@
### :bug: Bugs fixed
- Navigate tracking event firing multiple times [Taiga #10415](https://tree.taiga.io/project/penpot/issue/10415)
- Fix problem with selection colors [Taiga #](https://tree.taiga.io/project/penpot/issue/10376)
## 2.5.1

View file

@ -25,7 +25,7 @@
[rumext.v2 :as mf]))
(mf/defc options*
[{:keys [shape file-id shapes-with-children shared-libs] :as props}]
[{:keys [shape file-id shapes-with-children libraries] :as props}]
(let [shape-id (dm/get-prop shape :id)
shape-type (dm/get-prop shape :type)
@ -116,7 +116,7 @@
[:> color-selection-menu* {:type shape-type
:shapes shapes-with-children
:file-id file-id
:libraries shared-libs}]
:libraries libraries}]
[:> shadow-menu* {:ids ids :values (get shape :shadow)}]
[:& blur-menu {:ids ids
:values (select-keys shape [:blur])}]

View file

@ -292,7 +292,7 @@
page-id (unchecked-get props "page-id")
file-id (unchecked-get props "file-id")
shared-libs (unchecked-get props "shared-libs")
shared-libs (unchecked-get props "libraries")
show-caps (some #(and (= :path (:type %)) (gsh/open-path? %)) shapes)