We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7b7f6a6 commit 44dc75fCopy full SHA for 44dc75f
src/gui.rs
@@ -683,11 +683,17 @@ impl MyApp {
683
ui.label("Number of plots [#]: ");
684
685
ui.horizontal(|ui| {
686
+ if ui.button("<").clicked() {
687
+ self.number_of_plots = (self.number_of_plots - 1).clamp(1, 10);
688
+ }
689
ui.add(egui::DragValue::new(&mut self.number_of_plots)
690
.clamp_range(1..=10))
691
.on_hover_text("Select the number of plots to be shown.");
-
692
+ if ui.button(">").clicked() {
693
+ self.number_of_plots = (self.number_of_plots + 1).clamp(1, 10);
694
695
});
696
+
697
ui.end_row();
698
ui.label("Show Sent Commands");
699
ui.add(toggle(&mut self.show_sent_cmds))
0 commit comments