Skip to content

Commit

Permalink
Fixed typescript error and bumped to Phaser 3.52
Browse files Browse the repository at this point in the history
  • Loading branch information
dtaib committed Jan 26, 2021
1 parent ac301c1 commit 906e59e
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,6 @@
"workbox-webpack-plugin": "^5.1.3"
},
"dependencies": {
"phaser": "^3.24.1"
"phaser": "^3.52.0"
}
}
2 changes: 1 addition & 1 deletion src/scripts/common/util/alignGrid.ts
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ export default class AlignGrid
let posString = "x:" + j + "\ny:" + i;
var numText = this.scene.add.text(0, 0, posString, {
color: '#ff0000',
fontSize: 16,
fontSize: "16",
fontStyle: 'bold',
backgroundColor: '#000000'
});
Expand Down
2 changes: 1 addition & 1 deletion src/scripts/scenes/mainScene.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ export default class MainScene extends BaseScene {
this.add
.text(this.cameras.main.width - 36, 15, `m ${message.type}`, {
color: '#ffffff',
fontSize: 36,
fontSize: "36",
})
.setOrigin(1, 0)

Expand Down
2 changes: 1 addition & 1 deletion src/scripts/scenes/overScene.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ export default class OverScene extends BaseScene {
this.add
.text(this.cameras.main.width - 15, 15, `m ${message.type}`, {
color: '#ffffff',
fontSize: 24,
fontSize: "24",
})
.setOrigin(1, 0)

Expand Down
2 changes: 1 addition & 1 deletion src/scripts/scenes/titleScene.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ export default class TitleScene extends BaseScene {
this.add
.text(this.cameras.main.width - 36, 15, `m ${message.type}`, {
color: '#ffffff',
fontSize: 36,
fontSize: "36",
})
.setOrigin(1, 0)

Expand Down

0 comments on commit 906e59e

Please sign in to comment.