Toggle values instead
This commit is contained in:
parent
4a9bec7d5d
commit
7295115506
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue