fix: distance not abs
This commit is contained in:
parent
30a674692f
commit
fa772154e6
1 changed files with 1 additions and 1 deletions
|
|
@ -72,7 +72,7 @@ impl Theme {
|
||||||
.filter_map(|directory| {
|
.filter_map(|directory| {
|
||||||
let distance = directory.directory_size_distance(size, scale);
|
let distance = directory.directory_size_distance(size, scale);
|
||||||
if distance < i16::MAX {
|
if distance < i16::MAX {
|
||||||
Some((directory, distance))
|
Some((directory, distance.abs()))
|
||||||
} else {
|
} else {
|
||||||
None
|
None
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue