From e1ef0a1575b2e2705c48870a9466deb4e84ea6e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E1=84=8B=E1=85=A2=E1=84=91=E1=85=B3=E1=86=AF=20=E1=84=82?= =?UTF-8?q?=E1=85=A9=E1=84=90=E1=85=B3=E1=84=87=E1=85=AE=E1=86=A8?= Date: Mon, 10 Dec 2018 08:25:31 +0900 Subject: [PATCH] Fix: license timer chart --- src/game/license_timer/chart.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/game/license_timer/chart.js b/src/game/license_timer/chart.js index d4afc99..e7a6c93 100644 --- a/src/game/license_timer/chart.js +++ b/src/game/license_timer/chart.js @@ -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) {