From fb4f76ce19228e9bba5d7f42ced030c5bd5c4148 Mon Sep 17 00:00:00 2001 From: Mina928 A Date: Sun, 29 Oct 2023 03:18:58 +0000 Subject: [PATCH] Removing an unused CSS class --- src/style/styles.less | 4 ---- src/ui/button.ts | 5 +---- src/ui/interface.js | 1 - 3 files changed, 1 insertion(+), 9 deletions(-) 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 },