Merge branch 'master' into bar-gauge-poc

This commit is contained in:
Peter Holmberg
2019-02-21 15:08:49 +01:00
42 changed files with 1892 additions and 520 deletions

View File

@@ -104,9 +104,9 @@ export class Gauge extends PureComponent<Props> {
getFontScale(length: number): number {
if (length > 12) {
return FONT_SCALE - (length * 5) / 120;
return FONT_SCALE - (length * 5) / 110;
}
return FONT_SCALE - (length * 5) / 105;
return FONT_SCALE - (length * 5) / 100;
}
draw() {