Skip to content

Commit edae2f7

Browse files
committed
style unused args
1 parent be9d758 commit edae2f7

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/DisplayListWatcher.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -114,22 +114,22 @@ export class DisplayListWatcher extends Phaser.Plugins.ScenePlugin {
114114
this.hideKey = keyboard.addKey('C')
115115
this.resetKey = keyboard.addKey('V')
116116

117-
this.toggleKey.on('down', (key, event) => {
117+
this.toggleKey.on('down', (_key, event) => {
118118
if (event.shiftKey) {
119119
this.toggle()
120120
}
121121
})
122-
this.showKey.on('down', (key, event) => {
122+
this.showKey.on('down', (_key, event) => {
123123
if (event.shiftKey) {
124124
this.show()
125125
}
126126
})
127-
this.hideKey.on('down', (key, event) => {
127+
this.hideKey.on('down', (_key, event) => {
128128
if (event.shiftKey) {
129129
this.hide()
130130
}
131131
})
132-
this.resetKey.on('down', (key, event) => {
132+
this.resetKey.on('down', (_key, event) => {
133133
if (event.shiftKey) {
134134
this.resetCamera()
135135
}
@@ -190,7 +190,7 @@ export class DisplayListWatcher extends Phaser.Plugins.ScenePlugin {
190190
this.toggleKey = null
191191
}
192192

193-
update(time, delta) {
193+
update(_time, delta) {
194194
if (this.modKey.isDown) {
195195
this.controls.update(delta)
196196
}

0 commit comments

Comments
 (0)