[chronojump] Added needed changes to last commit
- From: Xavier de Blas <xaviblas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] Added needed changes to last commit
- Date: Wed, 18 Dec 2019 15:42:56 +0000 (UTC)
commit 32b12d5af91964ae9183faa429e11298cc4e7c7e
Author: Xavier de Blas <xaviblas gmail com>
Date: Wed Dec 18 16:42:04 2019 +0100
Added needed changes to last commit
src/gui/app1/chronojumpJumpsDjOptimalFall.cs | 14 +++++++++-----
1 file changed, 9 insertions(+), 5 deletions(-)
---
diff --git a/src/gui/app1/chronojumpJumpsDjOptimalFall.cs b/src/gui/app1/chronojumpJumpsDjOptimalFall.cs
index b69d8b6e..3943b28e 100644
--- a/src/gui/app1/chronojumpJumpsDjOptimalFall.cs
+++ b/src/gui/app1/chronojumpJumpsDjOptimalFall.cs
@@ -45,11 +45,15 @@ public partial class ChronoJumpWindow
if(calculateData)
jumpsDjOptimalFall.Calculate(currentPerson.UniqueID, currentSession.UniqueID);
- JumpsDjOptimalFallGraph.Do(
- jumpsDjOptimalFall.Point_l,
- jumpsDjOptimalFall.GetMaxY(),
- drawingarea_jumps_dj_optimal_fall,
- currentPerson.Name, currentSession.DateShort);
+ if(jumpsDjOptimalFall.Point_l.Count > 0)
+ JumpsDjOptimalFallGraph.Do(
+ jumpsDjOptimalFall.Point_l,
+ jumpsDjOptimalFall.Coefs,
+ jumpsDjOptimalFall.XatMaxY, //model
+ jumpsDjOptimalFall.GetMaxValue(),
+ drawingarea_jumps_dj_optimal_fall,
+ currentPerson.Name, currentSession.DateShort);
+ //TODO: if not, just blank screen
}
private void on_drawingarea_jumps_dj_optimal_fall_expose_event (object o, ExposeEventArgs args)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]