Commit 462bdb6d by Peter Holmberg

increasing font size on longer strings

parent 4b0df606
...@@ -115,7 +115,7 @@ export class Gauge extends PureComponent<Props> { ...@@ -115,7 +115,7 @@ export class Gauge extends PureComponent<Props> {
getFontScale(length: number): number { getFontScale(length: number): number {
if (length > 12) { if (length > 12) {
return FONT_SCALE - length * 5 / 115; return FONT_SCALE - length * 5 / 120;
} }
return FONT_SCALE - length * 5 / 105; return FONT_SCALE - length * 5 / 105;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment