This commit is contained in:
Zel
2025-02-23 18:47:21 +08:00
parent eaaffeeccb
commit e46a7ca31c
104 changed files with 2630 additions and 2516 deletions

View File

@@ -17,10 +17,10 @@ namespace ZelWiki.Engine.Implementation.Utility
tags = tags.Take((int)maxCount).ToList();
}
int tagCount = tags.Count;
int fontSize = 7;
int sizeStep = (tagCount > fontSize ? tagCount : (fontSize * 2)) / fontSize;
int tagIndex = 0;
var tagCount = tags.Count;
var fontSize = 7;
var sizeStep = (tagCount > fontSize ? tagCount : (fontSize * 2)) / fontSize;
var tagIndex = 0;
var tagList = new List<TagCloudItem>();