Skip to content

Commit

Permalink
last 1 for 2nite
Browse files Browse the repository at this point in the history
  • Loading branch information
Stehfyn committed Sep 7, 2023
1 parent 841aca2 commit 149f176
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/app.rs
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,7 @@ impl eframe::App for TemplateApp {
)
.clicked()
{
self.puzzle_panel.open = true;
self.gallery_panel.open = false;
self.about_panel.open = false;
}
Expand Down Expand Up @@ -225,7 +226,7 @@ impl eframe::App for TemplateApp {
disable_settings_button = true;
}
}
ui.set_enabled(disable_settings_button);
ui.set_enabled(!disable_settings_button);
if ui
.add_sized(
[self.top_panel_rects[4].width(), bh],
Expand Down

0 comments on commit 149f176

Please sign in to comment.