diff --git a/src/style/styles.less b/src/style/styles.less index 49eed6d49..d1189d851 100644 --- a/src/style/styles.less +++ b/src/style/styles.less @@ -381,10 +381,6 @@ &.potential { animation: rightJump 1s infinite; } - &.potentialoff { - animation: none !important; - } - } diff --git a/src/ui/button.ts b/src/ui/button.ts index 528e6a8c6..b59b9c897 100644 --- a/src/ui/button.ts +++ b/src/ui/button.ts @@ -10,7 +10,6 @@ export const ButtonStateEnum = { noClick: 'noclick', slideIn: 'slideIn', potential: 'potential', - potentialoff: 'potentialoff' } as const; /** @@ -104,8 +103,6 @@ export class Button { hidden: {}, noclick: {}, potential: {}, - potentialoff: {}, - }, }; @@ -209,7 +206,7 @@ export class Button { } }); - this.$button.removeClass('disabled glowing selected active noclick slideIn hidden potential potentialoff'); + this.$button.removeClass('disabled glowing selected active noclick slideIn hidden potential'); wrapperElement && wrapperElement.removeClass('hidden'); this.$button.css(this.css.normal); diff --git a/src/ui/interface.js b/src/ui/interface.js index 0b440476d..3ee4318cd 100644 --- a/src/ui/interface.js +++ b/src/ui/interface.js @@ -256,7 +256,6 @@ export class UI { }, slideIn: {}, potential: {}, - potentialoff:{}, }, }, { isAcceptingInput: () => this.interfaceAPI.isAcceptingInput },