Skip to content

Commit

Permalink
adjust input box size
Browse files Browse the repository at this point in the history
  • Loading branch information
lsauer-ionos committed Feb 13, 2024
1 parent 4debf1c commit 2737276
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions src/ui/input-field.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ export default class AzNopolyInput extends Phaser.GameObjects.Container {
this.graphics = new Phaser.GameObjects.Graphics(scene);
this.graphics.fillStyle(0xffffff, 1);
this.graphics.fillRect(0, 0, width, height);
this.graphics.lineStyle(5, 0xffffff, 1)
this.graphics.strokeRect(0, 0, width, height)

this.dom = scene.add.dom(0, 0).createFromCache('input_mask');
this.dom.node.id = "input-field-" + Math.random().toString(36).substring(7);
Expand Down

0 comments on commit 2737276

Please sign in to comment.