Skip to content
This repository was archived by the owner on Mar 18, 2026. It is now read-only.

Commit e4953ed

Browse files
committed
update to melonJS version 15.12 and remove deprecation warning
1 parent cde9e5c commit e4953ed

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

dist/@melonjs/debug-plugin.js

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* melonJS debug plugin - v14.7.0
2+
* melonJS debug plugin - v14.8.0
33
* http://www.melonjs.org
44
* @melonjs/debug-plugin is licensed under the MIT License.
55
* http://www.opensource.org/licenses/mit-license
@@ -8,7 +8,7 @@
88
import { Renderable, video, utils, BitmapText, Rect, event, plugin, Container, Entity, Text, Camera2d, ImageLayer, game, input, timer, collision, Math, pool } from 'melonjs';
99

1010
var name = "@melonjs/debug-plugin";
11-
var version = "14.7.0";
11+
var version = "14.8.0";
1212
var description = "melonJS debug plugin";
1313
var homepage = "https://github.com/melonjs/debug-plugin#readme";
1414
var type = "module";
@@ -68,9 +68,9 @@ var devDependencies = {
6868
"@rollup/plugin-node-resolve": "^15.2.1",
6969
"@rollup/plugin-replace": "^5.0.2",
7070
"del-cli": "^5.1.0",
71-
eslint: "^8.49.0",
72-
"eslint-plugin-jsdoc": "^46.5.1",
73-
rollup: "^3.29.0",
71+
eslint: "^8.50.0",
72+
"eslint-plugin-jsdoc": "^46.8.2",
73+
rollup: "^3.29.2",
7474
"rollup-plugin-bundle-size": "^1.0.3",
7575
"rollup-plugin-string": "^3.0.0",
7676
typescript: "^5.2.2"
@@ -131,7 +131,7 @@ const DEBUG_HEIGHT = 50;
131131
class DebugPanel extends Renderable {
132132
constructor(debugToggle) {
133133
// call the super constructor
134-
super(0, 0, video.renderer.getWidth(), DEBUG_HEIGHT );
134+
super(0, 0, video.renderer.width, DEBUG_HEIGHT );
135135

136136
// enable collision and event detection
137137
this.isKinematic = false;
@@ -169,7 +169,7 @@ class DebugPanel extends Renderable {
169169
this.name = "debugPanel";
170170

171171
// the debug panel version
172-
this.version = "14.7.0";
172+
this.version = "14.8.0";
173173

174174
// persistent
175175
this.isPersistent = true;

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
"LICENSE"
5050
],
5151
"peerDependencies": {
52-
"melonjs": "15.5.0"
52+
"melonjs": "15.12.0"
5353
},
5454
"devDependencies": {
5555
"@babel/eslint-parser": "^7.22.15",

src/debugPanel.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ const DEBUG_HEIGHT = 50;
2828
export class DebugPanel extends Renderable {
2929
constructor(debugToggle) {
3030
// call the super constructor
31-
super(0, 0, video.renderer.getWidth(), DEBUG_HEIGHT );
31+
super(0, 0, video.renderer.width, DEBUG_HEIGHT );
3232

3333
// enable collision and event detection
3434
this.isKinematic = false;

0 commit comments

Comments
 (0)