Skip to content

Commit

Permalink
Removing an unused CSS class
Browse files Browse the repository at this point in the history
  • Loading branch information
Mina928 committed Oct 29, 2023
1 parent 38b3e81 commit fb4f76c
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 9 deletions.
4 changes: 0 additions & 4 deletions src/style/styles.less
Original file line number Diff line number Diff line change
Expand Up @@ -381,10 +381,6 @@
&.potential {
animation: rightJump 1s infinite;
}
&.potentialoff {
animation: none !important;
}


}

Expand Down
5 changes: 1 addition & 4 deletions src/ui/button.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ export const ButtonStateEnum = {
noClick: 'noclick',
slideIn: 'slideIn',
potential: 'potential',
potentialoff: 'potentialoff'
} as const;

/**
Expand Down Expand Up @@ -104,8 +103,6 @@ export class Button {
hidden: {},
noclick: {},
potential: {},
potentialoff: {},

},
};

Expand Down Expand Up @@ -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);

Expand Down
1 change: 0 additions & 1 deletion src/ui/interface.js
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,6 @@ export class UI {
},
slideIn: {},
potential: {},
potentialoff:{},
},
},
{ isAcceptingInput: () => this.interfaceAPI.isAcceptingInput },
Expand Down

0 comments on commit fb4f76c

Please sign in to comment.