[Desc.] Fixing bug in timeline renderer when draw time string
[Issue]
if (firstTime - (int) firstTime == 0) {
timeString = Formatter.toTimelineFormat((int) firstTime);
} else {
- String minorityString = Double.toString(firstTime).substring(1);
+ String firstTimeString = Double.toString(firstTime);
+ String minorityString = firstTimeString
+ .substring(firstTimeString.indexOf('.'));
int timeIntervalMinorityStringLength = Double.toString(
timeInterval.doubleValue()).length() - 1;
if (minorityString.length() > timeIntervalMinorityStringLength) {