Skip to content

Commit

Permalink
remove lucky
Browse files Browse the repository at this point in the history
  • Loading branch information
nmsderp authored Feb 14, 2024
1 parent 09f3453 commit 550ab7b
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 19 deletions.
12 changes: 1 addition & 11 deletions src/components/font-dropdown/font-dropdown.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -120,16 +120,6 @@ const ModeToolsComponent = props => (
getFontName={props.getFontName}
/>
</Button>
<Button
className={classNames(styles.modMenuItem)}
onClick={props.onChoose}
onMouseOver={props.onHoverLucky}
>
<DisplayFont
font={Fonts.LUCKY}
getFontName={props.getFontName}
/>
</Button>
<Button
className={classNames(styles.modMenuItem)}
onClick={props.onChoose}
Expand Down Expand Up @@ -292,7 +282,7 @@ ModeToolsComponent.propTypes = {
onHoverPlayful: PropTypes.func,
onHoverBubbly: PropTypes.func,
onHoverHandjet: PropTypes.func,
onHoverLucky: PropTypes.func,
// onHoverLucky: PropTypes.func,
onHoverBitsAndBytes: PropTypes.func,
onHoverTechnological: PropTypes.func,
onHoverArcade: PropTypes.func,
Expand Down
14 changes: 7 additions & 7 deletions src/containers/font-dropdown.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class FontDropdown extends React.Component {
'handleChangeFontPlayful',
'handleChangeFontBubbly',
'handleChangeFontHandjet',
'handleChangeFontLucky',
// 'handleChangeFontLucky',
'handleChangeFontTechnological',
'handleChangeFontBitsAndBytes',
'handleChangeFontArcade',
Expand Down Expand Up @@ -248,11 +248,11 @@ class FontDropdown extends React.Component {
this.props.changeFont(Fonts.HANDJET);
}
}
handleChangeFontLucky() {
if (this.dropDown.isOpen()) {
this.props.changeFont(Fonts.LUCKY);
}
}
//handleChangeFontLucky() {
//if (this.dropDown.isOpen()) {
//this.props.changeFont(Fonts.LUCKY);
//}
//}
handleChangeFontTechnological() {
if (this.dropDown.isOpen()) {
this.props.changeFont(Fonts.TECHNOLOGICAL);
Expand Down Expand Up @@ -393,7 +393,7 @@ class FontDropdown extends React.Component {
onHoverPlayful={this.handleChangeFontPlayful}
onHoverBubbly={this.handleChangeFontBubbly}
onHoverHandjet={this.handleChangeFontHandjet}
onHoverLucky={this.handleChangeFontLucky}
// onHoverLucky={this.handleChangeFontLucky}
onHoverBitsAndBytes={this.handleChangeFontBitsAndBytes}
onHoverTechnological={this.handleChangeFontTechnological}
onHoverArcade={this.handleChangeFontArcade}
Expand Down
2 changes: 1 addition & 1 deletion src/lib/fonts.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const Fonts = {
PLAYFUL: 'Playful',
BUBBLY: 'Bubbly',
HANDJET: 'Handjet',
LUCKY: 'Luckiest Guy',
// LUCKY: 'Luckiest Guy',
BITSANDBYTES: 'Bits and Bytes',
TECHNOLOGICAL: 'Technological',
ARCADE: 'Arcade',
Expand Down

0 comments on commit 550ab7b

Please sign in to comment.