aboutsummaryrefslogtreecommitdiff
path: root/web/lib
diff options
context:
space:
mode:
authorJochen Topf <jochen@topf.org>2013-01-07 09:42:46 +0100
committerJochen Topf <jochen@topf.org>2013-01-07 09:42:46 +0100
commit38afaa11e970cab993dcaef4f7bed1263e80930d (patch)
tree692ba2dcc8c6a5ee79389c3942803671e698f578 /web/lib
parentb14844558528208b17267d4761ec7655274e0e41 (diff)
downloadtaginfo-38afaa11e970cab993dcaef4f7bed1263e80930d.tar
taginfo-38afaa11e970cab993dcaef4f7bed1263e80930d.tar.gz
Adjust tagcloud formula
Diffstat (limited to 'web/lib')
-rw-r--r--web/lib/utils.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/web/lib/utils.rb b/web/lib/utils.rb
index 06a9646..3a9e8e6 100644
--- a/web/lib/utils.rb
+++ b/web/lib/utils.rb
@@ -84,8 +84,8 @@ def external_link(id, title, link, new_window=false)
end
def tagcloud_size(tag)
- x = tag['scale1'].to_f / 17 / 2 + tag['pos'] / 2
- (x * 32 + 10).to_i
+ x = tag['scale1'].to_f / 20 + tag['pos'] / 4
+ (x * 40 + 12).to_i
end
def get_filter