mirror of
https://github.com/penpot/penpot.git
synced 2025-12-11 22:14:05 +01:00
🐛 Fix detach stroke color
This commit is contained in:
@@ -48,6 +48,7 @@
|
||||
- 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 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
|
||||
|
||||
|
||||
@@ -102,7 +102,10 @@
|
||||
(mf/use-callback
|
||||
(mf/deps ids)
|
||||
(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
|
||||
(fn [event]
|
||||
|
||||
Reference in New Issue
Block a user