[chronojump] CairoBarsEncoder, fixed mouseLimits on CairoBars1Series since last commits
- From: Xavier de Blas <xaviblas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] CairoBarsEncoder, fixed mouseLimits on CairoBars1Series since last commits
- Date: Thu, 31 Mar 2022 10:16:12 +0000 (UTC)
commit cee4c420c6b2705b88d7f48e67c39c698bec7213
Author: Xavier de Blas <xaviblas gmail com>
Date: Thu Mar 31 12:15:25 2022 +0200
CairoBarsEncoder, fixed mouseLimits on CairoBars1Series since last commits
src/gui/cairo/bars.cs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/gui/cairo/bars.cs b/src/gui/cairo/bars.cs
index 02f3cd1e9..9a2b30b22 100644
--- a/src/gui/cairo/bars.cs
+++ b/src/gui/cairo/bars.cs
@@ -1092,7 +1092,7 @@ public class CairoBars1Series : CairoBars
drawRoundedRectangle (true, x, y, barWidth, graphHeight -y -bottomMargin, 4, g,
barColor);
resultOnBars_l.Add(new Point3F(x + barWidth/2, y, p.Y));
- mouseLimits.AddInPos (barMain_l.Count -1 -i, x, x+barWidth);
+ mouseLimits.AddInPos (i, x, x+barWidth);
//print the type at bottom
//printTextMultiline (x + barWidth/2, graphHeight -bottomMargin +
fontHeightForBottomNames/2, 0, fontHeightForBottomNames,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]