Set constraint for tags graph font size

pull/645/head
Tienson Qin 2020-06-18 20:42:52 +08:00
parent afe9464601
commit bb22d8c6b1
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@
{:id tag
:label tag
:value refs
:font {:size (* refs 14)}
:font {:size (* (min 4 (max 1 (/ refs 3))) 14)}
:shadow {:enabled true}}
dark?
(assoc-in [:font :color] "#dfdfdf")))