mirror of
https://github.com/penpot/penpot.git
synced 2025-02-10 09:08:31 -05:00
🐛 Fix linter issues
This commit is contained in:
parent
a73a393e26
commit
3f804339b9
2 changed files with 2 additions and 3 deletions
|
@ -311,7 +311,7 @@
|
|||
|
||||
clean-attrs (d/without-nils attrs)]
|
||||
(cond-> shape
|
||||
(not (empty? clean-attrs))
|
||||
(d/not-empty? clean-attrs)
|
||||
(assoc :fills [clean-attrs]))))
|
||||
|
||||
;; Add fills to shapes
|
||||
|
@ -341,7 +341,7 @@
|
|||
|
||||
clean-attrs (d/without-nils attrs)]
|
||||
(cond-> shape
|
||||
(not (empty? clean-attrs))
|
||||
(d/not-empty? clean-attrs)
|
||||
(assoc :strokes [clean-attrs]))))
|
||||
|
||||
;; Add strokes to shapes
|
||||
|
|
|
@ -323,7 +323,6 @@
|
|||
(> (count (:fills shape)) 1)
|
||||
(some :fill-color-gradient (:fills shape)))
|
||||
one-fill? (= (count (:fills shape)) 1)
|
||||
no-fills? (= (count (:fills shape)) 0)
|
||||
last-stroke? (= position (- (count (:strokes shape)) 1))
|
||||
|
||||
props (-> (obj/get child "props")
|
||||
|
|
Loading…
Add table
Reference in a new issue