Skip to content

Commit

Permalink
fix input event mode
Browse files Browse the repository at this point in the history
  • Loading branch information
CyberDex committed Dec 2, 2024
1 parent d04935e commit 7230af8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Input.ts
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ export class Input extends Container
this._secure = options.secure ?? false;

this.cursor = 'text';
this.interactive = true;
this.eventMode = 'static';

this.on('pointertap', () =>
{
Expand Down Expand Up @@ -246,7 +246,7 @@ export class Input extends Container
}

this._bg.cursor = 'text';
this._bg.interactive = true;
this._bg.eventMode = 'static';

this.addChildAt(this._bg, 0);

Expand Down

0 comments on commit 7230af8

Please sign in to comment.