[chronojump] Fixed a display bug on: paintGridInt VERTICALLINES
- From: Xavier de Blas <xaviblas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] Fixed a display bug on: paintGridInt VERTICALLINES
- Date: Fri, 4 Feb 2022 15:48:55 +0000 (UTC)
commit 4bf2850550de739d546a6bcbbb8d34b501651ae7
Author: Xavier de Blas <xaviblas gmail com>
Date: Wed Feb 2 16:32:04 2022 +0100
Fixed a display bug on: paintGridInt VERTICALLINES
src/gui/cairo/generic.cs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/gui/cairo/generic.cs b/src/gui/cairo/generic.cs
index 6a0fe9c52..ed64d5223 100644
--- a/src/gui/cairo/generic.cs
+++ b/src/gui/cairo/generic.cs
@@ -140,7 +140,7 @@ public abstract class CairoGeneric
}
if(gridType != gridTypes.VERTICALLINES)
- for(double i = Math.Floor(minX); i <= Math.Ceiling(maxY) ; i += by)
+ for(double i = Math.Floor(minY); i <= Math.Ceiling(maxY) ; i += by)
{
int ytemp = Convert.ToInt32(calculatePaintY(i));
if(ytemp <= topMargin || ytemp >= graphHeight -bottomMargin)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]