Commit 8c5b2289 authored by Nico Mack's avatar Nico Mack

Minor change in setInformation method

parent 96b9f081
......@@ -416,8 +416,8 @@ public class ArcGraph extends ValueCorona {
this.setNormalizedValue(value);
}
this.label = this.variableFormat.format(this.variable);
if (textFont != null) {
this.label = this.variableFormat.format(this.variable);
this.labelMetrics = textFont.getLineMetrics(this.label, new FontRenderContext(null, true, true));
}
}
......
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