mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-16 05:12:19 +02:00
stop the timer on input
This commit is contained in:
parent
d08b028498
commit
f87b8e259f
@ -238,6 +238,7 @@ export default abstract class AbstractBindingUiHandler extends UiHandler {
|
||||
* @param type - The type of button press.
|
||||
*/
|
||||
onInputDown(buttonIcon: string, assignedButtonIcon: string, type: string): void {
|
||||
clearTimeout(this.countdownTimer);
|
||||
this.newButtonIcon.setTexture(type);
|
||||
this.newButtonIcon.setFrame(buttonIcon);
|
||||
if (assignedButtonIcon) {
|
||||
|
Loading…
Reference in New Issue
Block a user