mirror of
https://github.com/penpot/penpot.git
synced 2025-06-04 07:11:38 +02:00
Merge branch 'token-studio-develop' into 213-opacity-fixes-03
This commit is contained in:
commit
f7e7701923
3 changed files with 50 additions and 8 deletions
|
@ -24,6 +24,12 @@ If possible add video here from PR as well
|
|||
|
||||
Fixes opacity not being applied correctly to shapes.
|
||||
|
||||
### 2024-08-05 - Fix stroke witdth applying breaking app
|
||||
|
||||
[Link to PR](https://github.com/orgs/tokens-studio/projects/69/views/11?pane=issue&itemId=73072870)
|
||||
|
||||
`:stroke-width` token applying wont update for shapes without a stroke.
|
||||
|
||||
### 2024-07-25 - UX Improvements for the context menu
|
||||
|
||||
[Link to PR](https://github.com/tokens-studio/tokens-studio-for-penpot/pull/224)
|
||||
|
|
|
@ -117,9 +117,12 @@
|
|||
|
||||
(defn update-stroke-width
|
||||
[value shape-ids]
|
||||
(dch/update-shapes shape-ids (fn [shape]
|
||||
(when (seq (:strokes shape))
|
||||
(assoc-in shape [:strokes 0 :stroke-width] value)))))
|
||||
(dch/update-shapes shape-ids
|
||||
(fn [shape]
|
||||
(when (seq (:strokes shape))
|
||||
(assoc-in shape [:strokes 0 :stroke-width] value)))
|
||||
{:reg-objects? true
|
||||
:attrs [:strokes]}))
|
||||
|
||||
(defn update-shape-dimensions [value shape-ids attributes]
|
||||
(ptk/reify ::update-shape-dimensions
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue