Toggle values instead

This commit is contained in:
Emilia Allison 2025-01-12 19:50:10 -05:00
parent 4a9bec7d5d
commit 7295115506
Signed by: emilia
GPG Key ID: 05D5D1107E5100A1
1 changed files with 3 additions and 3 deletions

View File

@ -103,21 +103,21 @@ impl eframe::App for PlateToolEframe {
});
ui.menu_button("Options", |ui| {
ui.menu_button("Styles", |ui| {
ui.checkbox(
ui.toggle_value(
&mut self
.main_window_state
.plate_display_options
.show_transfer_hashes,
"Toggle transfer hashes",
);
ui.checkbox(
ui.toggle_value(
&mut self
.main_window_state
.plate_display_options
.show_volume_heatmap,
"Toggle volume heatmap",
);
ui.checkbox(
ui.toggle_value(
&mut self
.main_window_state
.plate_display_options