[F] Fix preset length calculation
This commit is contained in:
parent
a0a2ed66f0
commit
4ba359a161
2 changed files with 16 additions and 1 deletions
|
|
@ -54,7 +54,7 @@ class ColorProfile:
|
|||
while extras > 0:
|
||||
extras -= 2
|
||||
weights[border_i] += 1
|
||||
weights[-border_i] += 1
|
||||
weights[-(border_i + 1)] += 1
|
||||
border_i += 1
|
||||
|
||||
return self.with_weights(weights)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue