Skip to content

Commit

Permalink
Bump version.
Browse files Browse the repository at this point in the history
  • Loading branch information
mkrueger committed Nov 21, 2024
1 parent 3d9fa3b commit aaeac2a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "game_cheetah"
version = "0.3.2"
version = "0.3.3"
authors = ["Mike Krüger <[email protected]>"]
edition = "2021"
rust-version = "1.60"
Expand Down
2 changes: 1 addition & 1 deletion src/about_dialog.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ impl GameCheetahEngine {
.show_inside(ui, |ui| {
ui.add_space(8.0); // ui.separator();
ui.vertical_centered(|ui| {
let button: egui::Button = egui::Button::new(fl!(crate::LANGUAGE_LOADER, "about-dialog-ok")).min_size(Vec2::new(100.0, 24.0));
let button= egui::Button::new(fl!(crate::LANGUAGE_LOADER, "about-dialog-ok")).min_size(Vec2::new(100.0, 24.0));
if ui.add(button).clicked() {
self.show_about_dialog = false;
}
Expand Down
4 changes: 2 additions & 2 deletions src/app.rs
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ impl eframe::App for GameCheetahEngine {
return;
}
if self.show_about_dialog {
ui.set_enabled(false);
ui.disable();
}

ui.spacing_mut().item_spacing = egui::Vec2::splat(12.0);
Expand Down Expand Up @@ -286,7 +286,7 @@ impl GameCheetahEngine {
);

let old_value = search_context.search_type;
egui::ComboBox::from_id_source(1)
egui::ComboBox::from_id_salt(1)
.selected_text(search_context.search_type.get_description_text())
.show_ui(ui, |ui| {
ui.selectable_value(
Expand Down

0 comments on commit aaeac2a

Please sign in to comment.