[longomatch] Don't set dashed lines if we didn't ask for them
- From: Andoni Morales Alastruey <amorales src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [longomatch] Don't set dashed lines if we didn't ask for them
- Date: Tue, 2 Nov 2010 01:15:08 +0000 (UTC)
commit ff74cf89336bb55b6b7d6d887244436a41b72652
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date: Tue Oct 26 00:53:03 2010 +0200
Don't set dashed lines if we didn't ask for them
LongoMatch/Gui/Component/DrawingWidget.cs | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/LongoMatch/Gui/Component/DrawingWidget.cs b/LongoMatch/Gui/Component/DrawingWidget.cs
index fc36920..cb50c80 100644
--- a/LongoMatch/Gui/Component/DrawingWidget.cs
+++ b/LongoMatch/Gui/Component/DrawingWidget.cs
@@ -206,7 +206,7 @@ namespace LongoMatch.Gui.Component
c.Color = lineColor;
c.LineWidth = lineWidth;
c.Operator = Operator.Over;
- if (!dashed)
+ if (dashed)
c.SetDash(new double[]{10, 10}, 10);
} else {
c.Color = new Cairo.Color(0,0,0,0);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]