aboutsummaryrefslogtreecommitdiffstatsci
path: root/src/GraphicObjects/GraduatedSlider.cs
diff options
context:
space:
mode:
authorjpbruyere <jp.bruyere@hotmail.com>2016-02-02 23:38:54 +0100
committerjpbruyere <jp.bruyere@hotmail.com>2016-02-03 01:58:16 +0100
commit921126b99a9e1ab00befb40d8f7f0c99728af698 (patch)
treebc2693bcd33739ace6f4865d560c3705cea478d1 /src/GraphicObjects/GraduatedSlider.cs
parent2b087282dd73152d21140ea7312a90e046c84f61 (diff)
Gradient, Bitmap and Svg Filling
Diffstat (limited to 'src/GraphicObjects/GraduatedSlider.cs')
-rw-r--r--src/GraphicObjects/GraduatedSlider.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/GraphicObjects/GraduatedSlider.cs b/src/GraphicObjects/GraduatedSlider.cs
index 3d916a8c..b7a181e0 100644
--- a/src/GraphicObjects/GraduatedSlider.cs
+++ b/src/GraphicObjects/GraduatedSlider.cs
@@ -25,7 +25,7 @@ namespace Crow
protected override void DrawGraduations(Context gr, PointD pStart, PointD pEnd)
{
Rectangle r = ClientRectangle;
- gr.SetSourceColor(Foreground);
+ Foreground.SetAsSource (gr);
gr.LineWidth = 2;
gr.MoveTo(pStart);