[chronojump] forceSensor analyze manual: press B updates ok time and force
- From: Xavier de Blas <xaviblas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] forceSensor analyze manual: press B updates ok time and force
- Date: Wed, 27 Mar 2019 17:05:40 +0000 (UTC)
commit ea7390a647ebe7ddd9ed9a99e3e365be84a56353
Author: Xavier de Blas <xaviblas gmail com>
Date: Tue Mar 26 19:35:40 2019 +0100
forceSensor analyze manual: press B updates ok time and force
src/gui/forceSensorAnalyze.cs | 4 ++++
1 file changed, 4 insertions(+)
---
diff --git a/src/gui/forceSensorAnalyze.cs b/src/gui/forceSensorAnalyze.cs
index 362a93c6..dd284f6f 100644
--- a/src/gui/forceSensorAnalyze.cs
+++ b/src/gui/forceSensorAnalyze.cs
@@ -1022,6 +1022,10 @@ public partial class ChronoJumpWindow
}
private void on_checkbutton_force_sensor_ai_b_toggled (object o, EventArgs args)
{
+ int count = Convert.ToInt32(hscale_force_sensor_ai_b.Value);
+ label_force_sensor_ai_time_b.Text = Math.Round(fsAI.GetTimeMS(count), 1).ToString();
+ label_force_sensor_ai_force_b.Text = Math.Round(fsAI.GetForceAtCount(count), 1).ToString();
+
bool visible = checkbutton_force_sensor_ai_b.Active;
hscale_force_sensor_ai_b.Visible = visible;
hbox_buttons_scale_force_sensor_ai_b.Visible = visible;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]