diff options
| author | jpbruyere <jp.bruyere@hotmail.com> | 2015-06-11 14:02:13 +0200 |
|---|---|---|
| committer | jpbruyere <jp.bruyere@hotmail.com> | 2015-06-11 14:02:13 +0200 |
| commit | f986e2521e113bd67a2f06b92c2ca774aa1e0937 (patch) | |
| tree | f039053c4dbd77cb5b1e199e5f9f17bd27a62ce7 /src/OpenTKGameWindow.cs | |
| parent | 24cf921e07c87c5491c68f3f59f6664410333dbd (diff) | |
- popper (buggy)
- many redraw issue
Diffstat (limited to 'src/OpenTKGameWindow.cs')
| -rwxr-xr-x | src/OpenTKGameWindow.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/OpenTKGameWindow.cs b/src/OpenTKGameWindow.cs index 3ee7e647..99fba8c5 100755 --- a/src/OpenTKGameWindow.cs +++ b/src/OpenTKGameWindow.cs @@ -77,7 +77,7 @@ namespace go public void AddWidget(GraphicObject g)
{
g.Parent = this;
- GraphicObjects.Add (g);
+ GraphicObjects.Insert (0, g);
g.RegisterForLayouting ((int)LayoutingType.Sizing);
}
@@ -246,7 +246,7 @@ namespace go lock (redrawClip) {
if (redrawClip.count > 0) {
// #if DEBUG_CLIP_RECTANGLE
-// redrawClip.stroke (ctx, new Color(1.0,0,0,0.3));
+ redrawClip.stroke (ctx, new Color(1.0,0,0,0.3));
// #endif
redrawClip.clearAndClip (ctx);//rajouté après, tester si utile
|