allow setting palettes from style
This commit is contained in:
parent
d787fb1a60
commit
86585cc644
9 changed files with 143 additions and 46 deletions
|
|
@ -227,8 +227,8 @@ export const init = ({
|
|||
bScore += b.component === 'Text' ? 1 : 0
|
||||
|
||||
// Debug
|
||||
a.specifityScore = aScore
|
||||
b.specifityScore = bScore
|
||||
a._specificityScore = aScore
|
||||
b._specificityScore = bScore
|
||||
|
||||
if (aScore === bScore) {
|
||||
return ai - bi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue