Skip to content

Commit

Permalink
fix Fith typo
Browse files Browse the repository at this point in the history
  • Loading branch information
jacekpoz committed Jul 14, 2024
1 parent 617dc14 commit 188eee4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/ui/toolbars.rs
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ pub enum ColorButtons {
Second = 1,
Third = 2,
Fourth = 3,
Fith = 4,
Fifth = 4,
Custom = 5,
}

Expand Down Expand Up @@ -287,7 +287,7 @@ impl StyleToolbar {
ColorButtons::Second => config.color_palette().second(),
ColorButtons::Third => config.color_palette().third(),
ColorButtons::Fourth => config.color_palette().fourth(),
ColorButtons::Fith => config.color_palette().fifth(),
ColorButtons::Fifth => config.color_palette().fifth(),
ColorButtons::Custom => self.custom_color,
}
}
Expand Down Expand Up @@ -350,7 +350,7 @@ impl Component for StyleToolbar {

create_icon(APP_CONFIG.read().color_palette().fifth()),

ActionablePlus::set_action::<ColorAction>: ColorButtons::Fith,
ActionablePlus::set_action::<ColorAction>: ColorButtons::Fifth,
},
gtk::Separator {},
gtk::ToggleButton {
Expand Down Expand Up @@ -522,7 +522,7 @@ impl FromVariant for ColorButtons {
1 => Some(ColorButtons::Second),
2 => Some(ColorButtons::Third),
3 => Some(ColorButtons::Fourth),
4 => Some(ColorButtons::Fith),
4 => Some(ColorButtons::Fifth),
5 => Some(ColorButtons::Custom),
_ => None,
})
Expand Down

0 comments on commit 188eee4

Please sign in to comment.