We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9d9411b commit ed742e4Copy full SHA for ed742e4
src/analog-joystick-element.ts
@@ -250,8 +250,7 @@ export class AnalogJoystickElement extends LitElement {
250
break;
251
}
252
if (SPACE_KEYS.includes(e.key)) {
253
- this.pressed = true;
254
- this.valueChanged();
+ this.press();
255
256
257
@@ -269,8 +268,7 @@ export class AnalogJoystickElement extends LitElement {
269
268
270
271
272
- this.pressed = false;
273
+ this.release();
274
275
276
0 commit comments