forked from fex-team/kityminder
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add hashed colors for the 9th and latter labels
When labels are more than 8, the next labels will all be gray, here for improving display, I changed the new labels to use hashed color HSL(0-255, 100, 85), which will match the previous definitions. 资源过多,找不到可用索引颜色时,返回哈希后的颜色,该颜色随机分布均匀,并可以稳定渲染。
- Loading branch information
Showing
1 changed file
with
18 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters