increase the dynamic range of the tag clouds slightly.

This commit is contained in:
friendica 2015-03-01 23:50:31 -08:00
parent 41415d934f
commit 7d0783c4dd

View File

@ -152,7 +152,7 @@ function tagadelic($uid, $count = 0, $authors = '', $flags = 0, $restrict = 0, $
$range = max(.01, $max - $min) * 1.0001;
for($x = 0; $x < count($tags); $x ++) {
$tags[$x][2] = 1 + floor(5 * ($tags[$x][1] - $min) / $range);
$tags[$x][2] = 1 + floor(7 * ($tags[$x][1] - $min) / $range);
}
return $tags;