Skip to content

Commit

Permalink
refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
CyberDex committed Nov 4, 2023
1 parent e9b9e9f commit 7bb2002
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions src/Input.ts
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,6 @@ export class Input extends Container
{
if (this._bg)
{
this.removeChild(this._bg);
this._bg.destroy();
}

Expand Down Expand Up @@ -199,7 +198,6 @@ export class Input extends Container
{
this.inputField.mask = null;
this._cursor.mask = null;
this.removeChild(this.inputMask);
this.inputMask.destroy();
}

Expand Down
2 changes: 0 additions & 2 deletions src/SliderBase.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,6 @@ export class SliderBase extends ProgressBar
if (this._slider1)
{
this.slider1.removeAllListeners();
this.removeChild(this._slider1);
this.slider1.destroy();
}

Expand Down Expand Up @@ -129,7 +128,6 @@ export class SliderBase extends ProgressBar
if (this._slider2)
{
this.slider2.removeAllListeners();
this.removeChild(this._slider2);
this.slider2.destroy();
}

Expand Down

0 comments on commit 7bb2002

Please sign in to comment.