mirror of
https://github.com/penpot/penpot.git
synced 2025-01-23 15:09:10 -05:00
🐛 Fix detach stroke color
This commit is contained in:
parent
16db31c53c
commit
6d96dd3818
2 changed files with 5 additions and 1 deletions
|
@ -48,6 +48,7 @@
|
||||||
- Fix font size input stuck on selection change [Taiga #2184](https://tree.taiga.io/project/penpot/issue/2184)
|
- Fix font size input stuck on selection change [Taiga #2184](https://tree.taiga.io/project/penpot/issue/2184)
|
||||||
- Fix stroke cut on shapes export [Taiga #2171](https://tree.taiga.io/project/penpot/issue/2171)
|
- Fix stroke cut on shapes export [Taiga #2171](https://tree.taiga.io/project/penpot/issue/2171)
|
||||||
- Fix no color when boolean with an SVG [Taiga #2193](https://tree.taiga.io/project/penpot/issue/2193)
|
- Fix no color when boolean with an SVG [Taiga #2193](https://tree.taiga.io/project/penpot/issue/2193)
|
||||||
|
- Fix unlink color styles at strokes [Taiga #2206](https://tree.taiga.io/project/penpot/issue/2206).
|
||||||
|
|
||||||
### :arrow_up: Deps updates
|
### :arrow_up: Deps updates
|
||||||
|
|
||||||
|
|
|
@ -102,7 +102,10 @@
|
||||||
(mf/use-callback
|
(mf/use-callback
|
||||||
(mf/deps ids)
|
(mf/deps ids)
|
||||||
(fn []
|
(fn []
|
||||||
(st/emit! (dc/change-stroke ids (dissoc current-stroke-color :id :file-id)))))
|
(let [remove-multiple (fn [[_ value]] (not= value :multiple))
|
||||||
|
current-stroke-color (-> (into {} (filter remove-multiple) current-stroke-color)
|
||||||
|
(assoc :id nil :file-id nil))]
|
||||||
|
(st/emit! (dc/change-stroke ids current-stroke-color)))))
|
||||||
|
|
||||||
on-stroke-style-change
|
on-stroke-style-change
|
||||||
(fn [event]
|
(fn [event]
|
||||||
|
|
Loading…
Add table
Reference in a new issue