Fix: license timer chart

This commit is contained in:
2018-12-10 08:25:31 +09:00
parent 364362618b
commit e1ef0a1575
+3 -1
View File
@@ -24,6 +24,7 @@ Chart.prototype.printChartBaseLine = function() {
this.chartGraphics.lineTo(game.world.width - Chart.CHART_LINE_START_X, Chart.CHART_LINE_Y);
}
/*
Chart.prototype.drawRecordGraph = function(index, date, bestRecord, min, max) {
var reverseIndex = (Chart.CHART_COUNT - 1) - index;
var posX = Chart.CHART_LINE_START_X + Chart.CHART_GRAPH_OFFSET_X + reverseIndex * Chart.CHART_GAP_PX;
@@ -48,6 +49,7 @@ Chart.prototype.drawRecordGraph = function(index, date, bestRecord, min, max) {
this.chartGraphics.moveTo(posX, posY);
this.chartGraphics.lineTo(posX, posY - Chart.CHART_HEIGHT * ( (bestRecord - min) / (max - min) ));
}
*/
Chart.drawText = function(posX, posY, text, fontStyle) {
var textObject = game.add.text(
@@ -106,7 +108,7 @@ ChartRecord.prototype.printDate = function(date) {
}
ChartRecord.prototype.printScore = function(score) {
this.score.text = score;
this.score.text = RecordUtil.getRecordValueWithUnit(score, sessionStorageManager.getPlayingAppID());
}
ChartRecord.prototype.printGrade = function(grade) {