Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix Fith typo #101

Merged
merged 1 commit into from
Jul 14, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading