aboutsummaryrefslogtreecommitdiffstatsci
path: root/src/GraphicObjects/Scroller.cs
diff options
context:
space:
mode:
authorjpbruyere <jp.bruyere@hotmail.com>2016-08-08 19:22:52 +0200
committerjpbruyere <jp.bruyere@hotmail.com>2016-08-08 19:22:52 +0200
commitcc4c62ab5d809ff451ca475a7949adc4fdfd806b (patch)
tree3b39b3eeffbadbc930941e37c1ef3b5026339da3 /src/GraphicObjects/Scroller.cs
parent4d4a9116ea5c68b27f0b7c43db9682ab57738ae7 (diff)
IMLInstantiator implementation
Diffstat (limited to 'src/GraphicObjects/Scroller.cs')
-rw-r--r--src/GraphicObjects/Scroller.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/GraphicObjects/Scroller.cs b/src/GraphicObjects/Scroller.cs
index 3eaff5f4..c248595d 100644
--- a/src/GraphicObjects/Scroller.cs
+++ b/src/GraphicObjects/Scroller.cs
@@ -148,7 +148,7 @@ namespace Crow
ScrollY = 0;
ScrollX = 0;
}
- public override T SetChild<T> (T _child)
+ public override void SetChild (GraphicObject _child)
{
GraphicObject c = child as GraphicObject;
Group g = child as Group;
@@ -164,7 +164,7 @@ namespace Crow
if (g != null)
g.ChildrenCleared += onChildListCleared;
}
- return base.SetChild (_child);
+ base.SetChild (_child);
}
#endregion