Fix: IE10 bug - let, const -> var
This commit is contained in:
@@ -17,7 +17,7 @@ RecordBoard.prototype.printRecordBoardHeader = function() {
|
||||
bar.beginFill(0x444444);
|
||||
bar.drawRect(0, posY, game.world.width, RecordBoard.HEADER_BAR_HEIGHT_PX);
|
||||
|
||||
const style = { font: "32px Arial", fill: "#ffc", align: "left", boundsAlignH: "center", boundsAlignV: "middle" };
|
||||
var style = { font: "32px Arial", fill: "#ffc", align: "left", boundsAlignH: "center", boundsAlignV: "middle" };
|
||||
this.printHeader(posX, posY, "최근의 내 기록", style);
|
||||
|
||||
posX = 320;
|
||||
@@ -38,8 +38,8 @@ RecordBoard.prototype.printHeader = function(x, y, title, style) {
|
||||
}
|
||||
|
||||
RecordBoard.prototype.printSeperator = function() {
|
||||
const posX = 290;
|
||||
const posY = 480;
|
||||
var posX = 290;
|
||||
var posY = 480;
|
||||
|
||||
this.chartGraphics.lineStyle(3, 0x444444, 1);
|
||||
this.chartGraphics.moveTo(posX, posY);
|
||||
|
||||
Reference in New Issue
Block a user