mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-16 21:32:18 +02:00
hide the timer when it's stopped
This commit is contained in:
parent
f87b8e259f
commit
29d8d553ab
@ -239,6 +239,7 @@ export default abstract class AbstractBindingUiHandler extends UiHandler {
|
|||||||
*/
|
*/
|
||||||
onInputDown(buttonIcon: string, assignedButtonIcon: string, type: string): void {
|
onInputDown(buttonIcon: string, assignedButtonIcon: string, type: string): void {
|
||||||
clearTimeout(this.countdownTimer);
|
clearTimeout(this.countdownTimer);
|
||||||
|
this.timerText.setText("");
|
||||||
this.newButtonIcon.setTexture(type);
|
this.newButtonIcon.setTexture(type);
|
||||||
this.newButtonIcon.setFrame(buttonIcon);
|
this.newButtonIcon.setFrame(buttonIcon);
|
||||||
if (assignedButtonIcon) {
|
if (assignedButtonIcon) {
|
||||||
|
Loading…
Reference in New Issue
Block a user