aboutsummaryrefslogtreecommitdiffstatsci
path: root/src/GraphicObjects/Group.cs
diff options
context:
space:
mode:
authorjpbruyere <jp.bruyere@hotmail.com>2016-02-02 01:13:08 +0100
committerjpbruyere <jp.bruyere@hotmail.com>2016-02-02 01:13:08 +0100
commit86238b1031ff73dc5f4be48033ba674189224e3a (patch)
treed755c4447e61783bd3c39d960cc140903bb2d2f2 /src/GraphicObjects/Group.cs
parent47fe040bb568b4eff544bb9f287481343216373e (diff)
debug
Diffstat (limited to 'src/GraphicObjects/Group.cs')
-rw-r--r--src/GraphicObjects/Group.cs7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/GraphicObjects/Group.cs b/src/GraphicObjects/Group.cs
index 77cb6d64..ef6e7fc8 100644
--- a/src/GraphicObjects/Group.cs
+++ b/src/GraphicObjects/Group.cs
@@ -190,7 +190,7 @@ namespace Crow
Rectangle rBack = new Rectangle (Slot.Size);
if (BackgroundImage != null)
BackgroundImage.Paint (gr, rBack, BackImgSub);
- gr.Color = Background;
+ gr.SetSourceColor(Background);
CairoHelpers.CairoRectangle(gr,rBack,CornerRadius);
gr.Fill ();
@@ -207,9 +207,6 @@ namespace Crow
if (bmp == null)
UpdateGraphic ();
else {
-
- Rectangle rb = Parent.ContextCoordinates (Slot);
-
if (clip != null)
clip.Rebase (this);
else {
@@ -230,7 +227,7 @@ namespace Crow
clip.clearAndClip (gr);
Rectangle rBack = Slot.Size;
- gr.Color = Background;
+ gr.SetSourceColor(Background);
CairoHelpers.CairoRectangle(gr,rBack,CornerRadius);
gr.Fill ();
#if DEBUG_CLIP_RECTANGLE