[chronojump] Zoom is temporarily disabled on elastic exercises
- From: Xavier de Blas <xaviblas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] Zoom is temporarily disabled on elastic exercises
- Date: Tue, 25 Feb 2020 16:13:51 +0000 (UTC)
commit 63f2ec17cff6f829fad6bbbcca82a764204f0c06
Author: Xavier de Blas <xaviblas gmail com>
Date: Tue Feb 25 17:10:01 2020 +0100
Zoom is temporarily disabled on elastic exercises
src/gui/app1/forceSensorAnalyze.cs | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
---
diff --git a/src/gui/app1/forceSensorAnalyze.cs b/src/gui/app1/forceSensorAnalyze.cs
index 34444688..c9fd7c6a 100644
--- a/src/gui/app1/forceSensorAnalyze.cs
+++ b/src/gui/app1/forceSensorAnalyze.cs
@@ -985,6 +985,12 @@ public partial class ChronoJumpWindow
private void on_button_force_sensor_ai_zoom_clicked (object o, EventArgs args)
{
+ if(currentForceSensorExercise.ComputeAsElastic)
+ {
+ new DialogMessage(Constants.MessageTypes.INFO, "Zoom is temporarily disabled on
elastic exercises.");
+ return;
+ }
+
forceSensorZoomApplied = true;
//store hscale a to help return to position on unzoom
@@ -1622,7 +1628,7 @@ public partial class ChronoJumpWindow
{
if (label_force_sensor_ai_time_a.Text == label_force_sensor_ai_time_b.Text)
{
- new DialogMessage(Constants.MessageTypes.WARNING, "A nd B cannot be the same");
+ new DialogMessage(Constants.MessageTypes.WARNING, "A and B cannot be the same");
return;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]