Fix: IE10 bug - let, const -> var
This commit is contained in:
@@ -33,7 +33,7 @@ Chart.prototype.drawRecordGraph = function(index, date, bestRecord, min, max) {
|
||||
}
|
||||
|
||||
Chart.prototype.drawText = function(posX, posY, text) {
|
||||
const style = { font: "24px Arial", fill: "#fff", align: "left", boundsAlignH: "center", boundsAlignV: "middle" };
|
||||
var style = { font: "24px Arial", fill: "#fff", align: "left", boundsAlignH: "center", boundsAlignV: "middle" };
|
||||
|
||||
var textObject = game.add.text(
|
||||
posX, posY,
|
||||
|
||||
Reference in New Issue
Block a user