[chronojump] runInterval capture paint Start, End line from top to down



commit 8af1a701558353fc4455ab5b7c0f7861e1c8b5df
Author: Xavier de Blas <xaviblas gmail com>
Date:   Mon Nov 2 14:03:39 2020 +0100

    runInterval capture paint Start,End line from top to down

 src/gui/eventExecute.cs | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/gui/eventExecute.cs b/src/gui/eventExecute.cs
index a44fec88..ae048ae5 100644
--- a/src/gui/eventExecute.cs
+++ b/src/gui/eventExecute.cs
@@ -2149,7 +2149,7 @@ public partial class ChronoJumpWindow
                        //paint start vertical line
                        int xStart2 = event_execute_rightMargin + Convert.ToInt32((ancho - 
2*event_execute_rightMargin) *
                                        (negativePTLTime) / timeTotalWithExtraPTL) -1;
-                       pixmap.DrawLine(pen_azul, xStart2 +1, 10, xStart2 +1, 20);
+                       pixmap.DrawLine(pen_azul, xStart2 +1, 10, xStart2 +1, alto-bottomMargin-4);
 
                        layoutMid_run_simple.SetMarkup("Start");
                        layoutMid_run_simple.GetPixelSize(out lWidth, out lHeight);
@@ -2162,7 +2162,7 @@ public partial class ChronoJumpWindow
                        //paint end vertical line
                        int xEnd2 = event_execute_rightMargin + Convert.ToInt32((ancho - 
2*event_execute_rightMargin) *
                                        (timeTotal + negativePTLTime) / timeTotalWithExtraPTL);
-                       pixmap.DrawLine(pen_azul, xEnd2, 10, xEnd2, 20);
+                       pixmap.DrawLine(pen_azul, xEnd2, 10, xEnd2, alto-bottomMargin-4);
 
                        layoutMid_run_simple.SetMarkup("End");
                        layoutMid_run_simple.GetPixelSize(out lWidth, out lHeight);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]