mirror of
https://github.com/penpot/penpot.git
synced 2025-01-21 06:02:32 -05:00
Naming
This commit is contained in:
parent
1e70a4d714
commit
e203646085
1 changed files with 2 additions and 2 deletions
|
@ -102,9 +102,9 @@
|
|||
ptk/WatchEvent
|
||||
(watch [_ _ _]
|
||||
(let [{:keys [attributes on-update-shape]} token-type-props
|
||||
remove-tokens? (wtt/shapes-token-applied? token shapes (:attributes token-type-props))
|
||||
unapply-tokens? (wtt/shapes-token-applied? token shapes (:attributes token-type-props))
|
||||
shape-ids (map :id shapes)]
|
||||
(if remove-tokens?
|
||||
(if unapply-tokens?
|
||||
(rx/of
|
||||
(unapply-token {:attributes attributes
|
||||
:shape-ids shape-ids}))
|
||||
|
|
Loading…
Add table
Reference in a new issue