Skip to content

Commit

Permalink
fix: FancyButton: tweedle.js reports a WARNING
Browse files Browse the repository at this point in the history
  • Loading branch information
CyberDex committed Nov 4, 2023
1 parent b3b2fa6 commit 9948d55
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/FancyButton.ts
Original file line number Diff line number Diff line change
Expand Up @@ -191,15 +191,15 @@ export class FancyButton extends ButtonContainer
Ticker.shared.add(() => Group.shared.update());
}

this.setState('default');

this.defaultView = defaultView;
this.hoverView = hoverView;
this.pressedView = pressedView;
this.disabledView = disabledView;
this.text = text;
this.iconView = icon;

this.setState('default');

this.initStateControl();
}

Expand Down

0 comments on commit 9948d55

Please sign in to comment.